[cfe-dev] Unable to build clang in MacOS 10.5.3

Mike Stump mrs at apple.com
Mon Jun 2 09:37:21 PDT 2008


On May 31, 2008, at 3:07 PM, Filipe Cabecinhas wrote:
> I'm trying to build clang on MacOS 10.5.3 (XCode 3.0, i686-apple-
> darwin9-gcc-4.0.1) but I get the following error:
> /usr/include/c++/4.0.0/debug/formatter.h: In constructor
> '__gnu_debug::_Error_formatter::_Parameter::_Parameter(const
> __gnu_debug::_Safe_iterator<_Iterator, _Sequence>&, const char*,
> __gnu_debug::_Error_formatter::_Is_iterator)':
> /usr/include/c++/4.0.0/debug/formatter.h:214: error: cannot use typeid
> with -fno-rtti
> /usr/include/c++/4.0.0/debug/formatter.h:220: error: cannot use typeid
> with -fno-rtti

You have to turn STL debug mode off, as it requires rtti.



More information about the cfe-dev mailing list