Re: G++ structure member alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Baruch,

> By the way, switch "-fpack-struct" do the job as well.

Careful... -fpack-struct will affect everything.  If you are linking against
any other libraries that were not built with -fpack-struct, the structures
in their headers may not match the structures as laid out in the libraries.

Including the Standard C Library and the Standard C++ Library and the OS
APIs.

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux