Re: [Boost-bugs] [Boost C++ Libraries] #10347: Boost.ProgramOptions without RTTI

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10347: Boost.ProgramOptions without RTTI
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-14 11:26:12


#10347: Boost.ProgramOptions without RTTI
-----------------------------------------+-----------------------------
  Reporter: Minmin Gong <gongminmin@…> | Owner: vladimir_prus
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: program_options
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------+-----------------------------

Comment (by 4ntoine):

 I'm trying boost::program_options 1.56 release with "-fno-rtti" flag and
 i'm getting error:

 /softdev/boost-1.56/include/boost/any.hpp:149:48: error: cannot use typeid
 with -fno-rtti
             return content ? content->type() : typeid(void);

 can i use boost::program_options with no rtti?

 my problem: http://stackoverflow.com/questions/26354991/combine-fno-rtti-
 lib-and-rtti-lib-while-compiling

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10347#comment:3>
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:17 UTC