Boost C++ Libraries: Ticket #10347: Boost.ProgramOptions without RTTI https://svn.boost.org/trac10/ticket/10347 <p> Program options utilizes typeid in value semantic. This is a patch for compiling it without RTTI on. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10347 Trac 1.4.3 Minmin Gong <gongminmin@…> Tue, 12 Aug 2014 12:19:42 GMT attachment set https://svn.boost.org/trac10/ticket/10347 https://svn.boost.org/trac10/ticket/10347 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">program_options_without_rtti.patch</span> </li> </ul> Ticket Vladimir Prus Tue, 12 Aug 2014 12:30:52 GMT <link>https://svn.boost.org/trac10/ticket/10347#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10347#comment:1</guid> <description> <p> How will it actually work without rtti? I think boost::any pretty much requires it. </p> </description> <category>Ticket</category> </item> <item> <author>Minmin Gong <gongminmin@…></author> <pubDate>Wed, 13 Aug 2014 04:01:52 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10347#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10347#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/10347#comment:1" title="Comment 1">vladimir_prus</a>: </p> <blockquote class="citation"> <p> How will it actually work without rtti? I think boost::any pretty much requires it. </p> </blockquote> <p> Yes, I've also submitted a patch to boost::any. Actually I'm not quite sure about how will go on with detail/typeinfo.hpp, when there is the new library type_index in 1.56.0. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>4ntoine</dc:creator> <pubDate>Tue, 14 Oct 2014 11:26:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10347#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10347#comment:3</guid> <description> <p> I'm trying boost::program_options 1.56 release with "-fno-rtti" flag and i'm getting error: </p> <p> /softdev/boost-1.56/include/boost/any.hpp:149:48: error: cannot use typeid with -fno-rtti </p> <blockquote> <p> return content ? content-&gt;type() : typeid(void); </p> </blockquote> <p> can i use boost::program_options with no rtti? </p> <p> my problem: <a class="ext-link" href="http://stackoverflow.com/questions/26354991/combine-fno-rtti-lib-and-rtti-lib-while-compiling"><span class="icon">​</span>http://stackoverflow.com/questions/26354991/combine-fno-rtti-lib-and-rtti-lib-while-compiling</a> </p> </description> <category>Ticket</category> </item> <item> <author>gongminmin@…</author> <pubDate>Wed, 04 Mar 2015 05:38:10 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/10347 https://svn.boost.org/trac10/ticket/10347 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">0001-Using-type_index-to-avoid-RTTIs-in-program_options.-.patch</span> </li> </ul> <p> Using type_index to avoid RTTIs. </p> Ticket gongminmin@… Wed, 04 Mar 2015 05:54:06 GMT <link>https://svn.boost.org/trac10/ticket/10347#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10347#comment:4</guid> <description> <p> Since boost::any has switched to boost::type_index, also using type_index here is reasonable to remove rtti. </p> <p> A pull request is generated, too. </p> </description> <category>Ticket</category> </item> </channel> </rss>