Subject: [Boost-bugs] [Boost C++ Libraries] #4563: BOOST_AUTO_LINK_TAGGED broken due to misspelled pragma
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-18 11:23:40
#4563: BOOST_AUTO_LINK_TAGGED broken due to misspelled pragma
-------------------------------------------------------------------+--------
Reporter: Pekka Seppänen <pexu+boost@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: config
Version: Boost 1.44.0 | Severity: Problem
Keywords: auto_link BOOST_AUTO_LINK_TAGGED commentcomment C4068 |
-------------------------------------------------------------------+--------
Noticed this while surfing around the source code:
As of [61805] BOOST_AUTO_LINK_TAGGED feature was added. However, the
implementation in the file boost/config/auto_link.hpp:365 is currently
broken as pragma reads:
{{{#!c++
# pragma commentcomment(lib, BOOST_LIB_PREFIX
BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT
".lib")
}}}
even though it should say:
{{{#!c++
# pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME)
BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT ".lib")
}}}
as stated in the original ticket #4041. Because at least MSVC8 emits a
mere C4068 (Unknown pragma) warning, this probably went undetected.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4563> 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:04 UTC