[Boost-bugs] [Boost C++ Libraries] #8346: Broken vc11 build at usage BOOST_STATIC_ASSERT_MSG after r82886

Subject: [Boost-bugs] [Boost C++ Libraries] #8346: Broken vc11 build at usage BOOST_STATIC_ASSERT_MSG after r82886
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-27 17:45:31


#8346: Broken vc11 build at usage BOOST_STATIC_ASSERT_MSG after r82886
-----------------------------------------------------+----------------------
 Reporter: Vladimir Merzliakov <wanderer@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost Development Trunk
 Severity: Regression | Keywords:
-----------------------------------------------------+----------------------
 After this commit my project code build fail with errors in boost headers
 at BOOST_STATIC_ASSERT_MSG uses.

 What difference in then/else branches?

 # ifndef BOOST_NO_CXX11_VARIADIC_MACROS
 # define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__)
 # else
 # define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__)
 # endif

 Look like copy paste typo.
 Change else to expected from old version code
 # define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
 fix build problem.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8346>
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:50:12 UTC