$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] auto-link with gcc/windows
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-07-06 13:05:57
> It looks to me that there are only a couple of undefined symbols because
> the serialization
> autolink code is being enabled by BOOST_HAS_DECL which is now being used
> to enable "visibility". This is likely even more confused as I believe
> I've used this
> or something like it to trick the compiler/linker into suppressing code
> stripping
> of code not otherwise explicitly referred to.
GCC's visibility feature is actually very similar to msvc's import/export
feature - just a different name. Using it to prevent code being stripped
will continue as before for msvc, and probably have no effect (as before)
for gcc.
Cheers, John.