Re: [Boost-bugs] [Boost C++ Libraries] #2506: program_options::arg undefined. Win DLL

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2506: program_options::arg undefined. Win DLL
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-11-17 20:30:20


#2506: program_options::arg undefined. Win DLL
--------------------------------------------------+-------------------------
  Reporter: Patrick White <patbob_at_[hidden]> | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: Boost 1.38.0 | Component: program_options
   Version: Boost 1.36.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------+-------------------------

Comment(by vladimir_prus):

 It is definitely defined, in libs/program_options/value_semantic.cpp:
 {{{
 BOOST_PROGRAM_OPTIONS_DECL std::string arg("arg");
 }}}

 Are you sure you are linking to the right version of the library? E.g. if
 you're linking to program_options dynamically, then you should define
 BOOST_PROGRAM_OPTIONS_DYN_LINK when building your own code.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2506#comment:1>
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:59 UTC