building with -mms-bitfields

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri May 22 16:15:45 CEST 2009


Till Adam schrieb:
> Folks,
> 
> while debugging a nasty struct packing problem with gpgme, on Windows, we 
> found out that it is normally built with -mms-bitfields, which forces packed 
> structs, among other things. This is the setting used by msvc, and mingw has 
> an option for it. The reason for gpgme to use it is that gtk uses it as does 
> glib, which is one of the event loop options for gpgme. Since binaries built 
> with -mms-bitfields are incompatible with those who have not (yes, also for 
> plain C libraries, not just c++), there are two options. Either we provide a 
> custom built gpgme, as part of KDE/Kontact on Windows and continue to build 
> our binaries without that flag, or we do what the majority of other mingw 
> based projects seem to be doing, add the flag to all builds. I'd suggest the 
> later. Opinions?
> 
Does this mean that we need to compile all dependencies with this flag?
This isn't really possible...


Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20090522/e65a23b1/attachment.sig 


More information about the Kde-windows mailing list