Opened 6 years ago

Last modified 6 years ago

#12561 new Bugs

program_options fails with clang++/libc++

Reported by: Jörg Plate <patterner@…> Owned by: Vladimir Prus
Milestone: To Be Determined Component: program_options
Version: Boost 1.62.0 Severity: Problem
Keywords: Cc:

Description

trying to use it fails with

undefined reference to `boost::program_options::options_description::options_description
(std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> > const&, unsigned int, unsigned int)'

libboost_program_options.so.1.62.0 has

000000000003ac70 T boost::program_options::options_description::options_description
(std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > const&, unsigned int, unsigned int)

boost was built with "-stdlib=libc++" and clang 3.9

Change History (1)

comment:1 by edaskel@…, 6 years ago

Component: Noneprogram_options
Owner: set to Vladimir Prus
Note: See TracTickets for help on using tickets.