Date: Tue, 14 Oct 1997 14:25:53 +0200 (MET DST) From: Herman Geza To: DJGPP Levelezesi lista Subject: GNU C++ Error or a feature or what? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Hi there! 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 __attribute__((packed)) NOT WORK under C++? Thanks for advance, Lantic