
6 Jul
2010
6 Jul
'10
8:48 a.m.
BOOST_HAS_DECLTYPE is to do with the C++0x decltype feature (http://en.wikipedia.org/wiki/Decltype)
BOOST_HAS_DECLSPEC is to do with symbol exporting and is likely to be the only relevant thing to your issue.
Yup. Nothing to do with auto-linking either since gcc doesn't support that, it's purely a symbol visibility issue, and gcc is quite a bit stricter about what works than msvc. One thing you could try is building the library and tests on Linux with -fvisiblity-hidden - you will very likely get lots of unresolved externals - then it's a case of adding the symbol visibility macros to those and/or preprocessing the offending source to see why things aren't working as expected. HTH, John.