[cfe-dev] Unable to build clang in MacOS 10.5.3
Filipe Cabecinhas
filcab at gmail.com
Sat May 31 15:27:56 PDT 2008
Hi,
On 31 May, 2008, at 23:15, Chris Lattner wrote:
> On May 31, 2008, at 3:07 PM, Filipe Cabecinhas wrote:
>
> I'm not familiar with debug/formatter.h. Can you please include the
> full error message from the compiler?
>
> -Chris
Here it is. I uncommented Driver/Makefile and tried to rebuild clang:
...
llvm[1]: Compiling ASTConsumers.cpp for Debug+Checks build
/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
/usr/include/c++/4.0.0/debug/formatter.h: In constructor
'__gnu_debug::_Error_formatter::_Parameter::_Parameter(const _Type*&,
const char*, __gnu_debug::_Error_formatter::_Is_iterator)':
/usr/include/c++/4.0.0/debug/formatter.h:243: error: cannot use typeid
with -fno-rtti
/usr/include/c++/4.0.0/debug/formatter.h: In constructor
'__gnu_debug::_Error_formatter::_Parameter::_Parameter(_Type*&, const
char*, __gnu_debug::_Error_formatter::_Is_iterator)':
/usr/include/c++/4.0.0/debug/formatter.h:256: error: cannot use typeid
with -fno-rtti
/usr/include/c++/4.0.0/debug/formatter.h: In constructor
'__gnu_debug::_Error_formatter::_Parameter::_Parameter(const
_Iterator&, const char*, __gnu_debug::_Error_formatter::_Is_iterator)':
/usr/include/c++/4.0.0/debug/formatter.h:269: error: cannot use typeid
with -fno-rtti
/usr/include/c++/4.0.0/debug/formatter.h: In constructor
'__gnu_debug::_Error_formatter::_Parameter::_Parameter(const
__gnu_debug::_Safe_sequence<_Sequence>&, const char*,
__gnu_debug::_Error_formatter::_Is_sequence)':
/usr/include/c++/4.0.0/debug/formatter.h:285: error: cannot use typeid
with -fno-rtti
/usr/include/c++/4.0.0/debug/formatter.h: In constructor
'__gnu_debug::_Error_formatter::_Parameter::_Parameter(const
_Sequence&, const char*, __gnu_debug::_Error_formatter::_Is_sequence)':
/usr/include/c++/4.0.0/debug/formatter.h:294: error: cannot use typeid
with -fno-rtti
make[1]: *** [/Users/filcab/dev/stuff/llvm/llvm/tools/clang/Driver/
Debug+Checks/ASTConsumers.o] Error 1
make: *** [all] Error 1
Thanks for the help,
- Filipe Cabecinhas
More information about the cfe-dev
mailing list