Why BOOST_HAS_DECLSPEC is not defined under MingW?

View: New views
1 Messages — Rating Filter:   Alert me  

Why BOOST_HAS_DECLSPEC is not defined under MingW?

by Artyom Beilis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I've noticed following lines under boost/config/platform/win32.hpp

#if !defined(__GNUC__) && !defined(BOOST_HAS_DECLSPEC)
#  define BOOST_HAS_DECLSPEC
#endif


Why? GCC provides support of declspec, Why it is specifically undefined?
It can auto-export symbols but it does not work when static members involved.


Thanks,
   Artyom


     
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost