Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#1220 closed Bugs (fixed)

lexical_cast requires RTTI

Reported by: rich.tollerton@… Owned by: nasonov
Milestone: Boost 1.38.0 Component: lexical_cast
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

I've tried to upgrade to the 8/28 svn trunk in order to incorporate pdimov's smart_ptr changes to work with -fno-rtti (see ticket #1108, BOOST_NO_TYPEID, etc). Those work, but not lexical_cast.hpp now breaks with -fno-rtti too.

Change History (6)

in reply to:  description comment:1 by nasonov, 15 years ago

Owner: set to nasonov
Status: newassigned

Replying to rich.tollerton@ni.com:

I've tried to upgrade to the 8/28 svn trunk in order to incorporate pdimov's smart_ptr changes to work with -fno-rtti (see ticket #1108, BOOST_NO_TYPEID, etc). Those work, but not lexical_cast.hpp now breaks with -fno-rtti too.

Can you give more information e.g. compiler and error message? Thanks, Alexander

comment:2 by rich.tollerton@…, 15 years ago

I'm using gcc 3.4.4 on powerpc-wrs-vxworks. Here's the error message:

c:/penguin/iak/build_system/extdep/boost/export/1.0/1.1.0b0/includes/boost/detail/sp_counted_impl.hpp: In member function `virtual void* boost::detail::sp_counted_impl_pd<P,D>::get_deleter(const std::type_info&)': c:/penguin/iak/build_system/extdep/boost/export/1.0/1.1.0b0/includes/boost/detail/sp_counted_impl.hpp:150: error: cannot use typeid with -fno-rtti

comment:3 by Marshall Clow, 15 years ago

Component: Nonelexical_cast

comment:4 by nasonov, 14 years ago

Milestone: To Be DeterminedBoost 1.38.0

comment:5 by nasonov, 14 years ago

Resolution: fixed
Status: assignedclosed

(In [50123]) Fixes #1220: lexical_cast requires RTTI

comment:6 by nasonov, 14 years ago

(In [50124]) Fixes #1220: lexical_cast requires RTTI

Note: See TracTickets for help on using tickets.