From: robert <Rob...@gm...> - 2011-10-17 14:00:28
|
Am 17.10.2011, 15:21 Uhr, schrieb tsteven4 <tst...@qw...>: > I believe these are the relevant include files that show where the extra > storage class definition 'extern' is coming from. The final define of > __forceinline is being used. > > /usr/x86_64-w64-mingw32/sys-root/mingw/include/_mingw.h > >> #ifdef __GNUC__ >> #define __ptr32 >> #define __ptr64 >> #ifndef __unaligned >> #define __unaligned >> #endif >> #ifndef __w64 >> #define __w64 >> #endif >> #ifdef __cplusplus >> #define __forceinline inline __attribute__((always_inline)) >> #else >> #define __forceinline extern __inline__ >> __attribute__((always_inline,__gnu_inline__)) >> #endif /* __cplusplus */ >> #endif /* __GNUC__ */ That's some weird definition for __forceinline there, it would make more sense when combined with storage class static instead of extern, but even better if it would be kept as storage class modifier only. Looks like a bug to me. Ciao Robert |