Mail Archives: djgpp/1997/10/14/10:56:45
|Date: ||Tue, 14 Oct 1997 14:25:53 +0200 (MET DST)
|From: ||Herman Geza <hg211 AT hszk DOT bme DOT hu>
|To: ||DJGPP Levelezesi lista <djgpp AT delorie DOT com>
|Subject: ||GNU C++ Error or a feature or what?
I have a little problem with GNU C++. When I make a struct type,
and I add __attribute__((packed)), it doesn't work. The compiler
behaves as if the __attribute__((packed)) wasn't there...
If I compile my program with simple C, it works. And, if I use
the option -fpack-struct, the compiler works fine, but my program
won't be compatible with the libraries. So, why does
NOT WORK under C++?
Thanks for advance, Lantic
- Raw text -