20 Nov
2018
20 Nov
'18
3:54 a.m.
Mere moments ago, quoth I:
On 20/11/2018 08:07, John Maddock wrote:
BOOST_SYMBOL_IMPORT is not defined to be __attribute__((__dllimport__)) under MINGW and that is the source of the problem.
That's not true, gcc.hpp has:
# define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__)) # define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
when _Win32 is defined.
Only for GCC >= 4.0 though. Perhaps they have an older gcc?
Also, why does that check use __GNUC__ instead of BOOST_GCC_VERSION?