tr1_impl/functional uses typeid and fails when used with -fno-rtti
It would be more useful if functionality would simply be reduced when -fno-rtti
is used with
#ifdef __GXX_RTTI
used to wrap RTTI code.
$ cat testcase.cpp
#include <functional>
$ gcc -std=gnu++0x -fno-rtti -c testcase.cpp
--
Summary: tr1_impl/functional incompatible with -fno-rtti
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bruck dot michael at googlemail dot com
GCC build triplet: mingw32
GCC host triplet: mingw32
GCC target triplet: arm-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38596