small patch to c-pragma.c

Jeffrey A Law law@cygnus.com
Wed Jun 30 23:07:00 GMT 1999


  In message < 14186.28364.279891.221673@bass.compgen.com >you write:
  > Hello,
  > 
  > I have a very small patch to egcs-1.1.2
  > 
  > Basically, I just want to add a case statement to c-pragma to handle
  > 
  > #pragma pack(8) 
  > 
  > for 64 bit architectures.
  > 
  > I have read the dogma about how terrible it is to use #pragma pack(),
  > but our code has it all over the place and we can't really see a
  > feasable alternative.  We pass over 100 different structures around in 
  > network packets and binary databases and have to work in a
  > mixed-endien environment.
We're not adding any new patches to the egcs-1.1.x sources since no new 
releases
based on those sources are planned.

We are nearly ready to release gcc-2.95 (aka egcs-1.2) which will support
#pragma pack(8) as far as I can tell.

jeff




More information about the Gcc-bugs mailing list