Re: g++ 2.7.2 packed structures bug

Mike Robinson (
20 Aug 96 05:34:31 EDT

It seems that gcc doesn't support __attribute__ ((packed)) in g++, but
(fortunately for us) it does seem to support #pragma packed(n). We're currently
converting our code to use #pragma packed(), a much smaller exercise than
converting everything to use gcc.c modules to access the packed data. If anyone
knows of any problems with this (#pragma) approach, please let me know.

Thanks to those who responded to this post.

Mike Robinson