S
Simon Elliott
I have some structs which must be byte packed with no padding. When I
was compiling with Borland BCB3/6 and Microsoft VC++ I used various
pragmas. Now I want to compile with g++.
I had the impression that pshpack1.h and the other alignment headers
were now standard, so I did some testing and found that pshpack1.h
isn't shipped with g++.
Is there any portable way of specifying alignment and packing?
was compiling with Borland BCB3/6 and Microsoft VC++ I used various
pragmas. Now I want to compile with g++.
I had the impression that pshpack1.h and the other alignment headers
were now standard, so I did some testing and found that pshpack1.h
isn't shipped with g++.
Is there any portable way of specifying alignment and packing?