This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
#pragma pack
- To: egcs at cygnus dot com
- Subject: #pragma pack
- From: mrs at wrs dot com (Mike Stump)
- Date: Mon, 13 Oct 1997 17:56:42 -0700
I will be adding some form of #pragma pack to our C/C++ compiler on
most platforms to support the inclusion of third party headerfiles
that assume that the structures are packed. The open question, is how
best to achieve that. I tried HANDLE_SYSV_PRAGMA but that logic fails
to work, in fact, I don't see how most ports could make use of the
code in c-pragma.c. Is there a port that someone can say does
currently work with that scheme? My preference is to reuse the most
popular existing scheme. Should I just blaze away and fix up c-pragma
to work as expected? What is expected?
Also, does egcs want these types changes when I am done with them, or
do you prefer that the not go into the egcs distribution?
Please, I know and understand all the arguments against using #p
anything... don't need to repeat those now.