Opened 12 years ago
Closed 12 years ago
#4563 closed Bugs (fixed)
BOOST_AUTO_LINK_TAGGED broken due to misspelled pragma
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | config |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | auto_link BOOST_AUTO_LINK_TAGGED commentcomment C4068 | Cc: |
Description
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:
# 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:
# 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.
Note:
See TracTickets
for help on using tickets.
(In [64885]) Fix typo in auto-linking code. Fixes #4563.