[C++-sig] Re: VC++ 7.1 (VStudio.NET 2003) linking problem

Mike Rovner mike at nospam.com
Thu Jul 3 00:28:01 CEST 2003


Ralf W. Grosse-Kunstleve wrote:
> I am using VC++ 7.1 without having link problems.
> But IIRC someone mentioned problems with pre-compiled header files.
> Could this be related to your difficulties?

Yes. PCH are ON. I'll check on turnining them off.
BTW, patching boost from anonymous namespace (back) to static solves the
problem.

The patch is:

boost/tuple/detail/tuple_basic.hpp:
603,605c603
< namespace {
<  detail::swallow_assign ignore;
< }
---
> static detail::swallow_assign ignore;

boost/bind/placeholders.hpp:
39c39
< #elif (defined(BOOST_MSVC) && BOOST_MSVC <= 1300) ||
(defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__)
---
> #elif (defined(BOOST_MSVC) && BOOST_MSVC <= 1400) ||
(defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__)

Regards,
Mike







More information about the Cplusplus-sig mailing list