Boost Users :
Subject: Re: [Boost-users] questions about visibility/dlls under mingw
From: John Maddock (jz.maddock_at_[hidden])
Date: 2018-11-20 17:36:56
On 20/11/2018 03:52, Gavin Lambert via Boost-users wrote:
> 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?
No I can reproduce with gcc-8.Â See my other post for an explanation.
--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net