On Sun, 22 Dec 2002, Dimitrie O. Paun wrote: > On December 22, 2002 06:03 am, Ove Kaaven wrote: > > Perhaps you could investigate the mingw headers to see > > if they've changed the #ifs around to get around this. > > This is how they do it: > > #ifdef NONAMELESSUNION > #define __VARIANT_NAME_1 n1 > #define __VARIANT_NAME_2 n2 > #define __VARIANT_NAME_3 n3 > #define __VARIANT_NAME_4 n4 > #else > #define __tagVARIANT > #define __VARIANT_NAME_1 > #define __VARIANT_NAME_2 > #define __VARIANT_NAME_3 > #define __VARIANT_NAME_4 > #endif > > Maybe our way is the right way. But it seems like wxWindows expects > nameless structures under all compilers, without defining > _FORCENAMELESSUNION... I can just define it, it's not a big deal, > just a small incompatibility.
Maybe you should submit patches to wxWindows and/or MinGW. I think this could only improve these projects to be more compatible with the Windows headers... -- Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/ I haven't lost my mind, it's backed up on tape around here somewhere...