Peter Memishian wrote:
I'm not sure I follow; are you saying that gcc generally supports use of
either #pragma pack or __attribute__((packed)), but in the specific case
above, only the latter works?  Strange.

If you knew the history of gcc and #pragma you wouldn't need to ask that question. :-)

(Historically, gcc always ignored #pragma. In the ~ 2.x days gcc would try to execute one of the BSD games when one tried to compile code that had #pragmas. I assume this has changed, but I doubt the ignorance has.)

--
Derek E. Lewis
[EMAIL PROTECTED]
http://riemann.solnetworks.net/~dlewis

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to