Subject: [Boost-bugs] [Boost C++ Libraries] #2262: BOOST_MPL_ASSERT_MSG producing linking problems in MSVC++ 8.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-26 15:43:22
#2262: BOOST_MPL_ASSERT_MSG producing linking problems in MSVC++ 8.0
-------------------------------------+--------------------------------------
Reporter: joaquin | Owner: agurtovoy
Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: mpl
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
Steps to reproduce the problem:
* Create a basic console project in Visual Studio 2005[[BR]]
* Include files foo1.cpp and foo2.cpp[[BR]]
* Build; the following error shows up at linking time:[[BR]]
{{{
>Linking...
>foo2.obj : error LNK2005: "public: static struct boost::mpl::failed
* * * * * * * * * * * * (__thiscall `bool __cdecl f<int>(void)'::`2'
::ALWAYS_TRUE::** * * * * * * * * * * __cdecl `bool __cdecl f<int>
(void)'::`2'::ALWAYS_TRUE0::assert_arg(void))(int)"
(?assert_arg_at_ALWAYS_TRUE0@?1???$f_at_H@@YA_NXZ_at_SAPAPAPAPAPAPAPAPAPAPAPAP8
ALWAYS_TRUE@?1???$f_at_H@@YA_NXZ_at_AEPAPAPAPAPAPAPAPAPAPAPAPAUfailed@mpl_at_boost@@H_at_ZXZ)
already defined in foo1.obj
}}}
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2262> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC