[cfe-dev] Unable to build clang in MacOS 10.5.3
Chris Lattner
clattner at apple.com
Sat May 31 15:15:27 PDT 2008
On May 31, 2008, at 3:07 PM, Filipe Cabecinhas wrote:
> Hi,
>
> 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
I'm not familiar with debug/formatter.h. Can you please include the
full error message from the compiler?
-Chris
>
>
> I commented all the CXX.flags = -fno-rtti and it built. I'm now
> testing it but I'm checking with you to see if it's a known bug (in
> llvm's IRC channel no-one knew about the bug, only suggested
> commenting the -fno-rtti).
>
> Thanks for the help,
>
> - Filipe Cabecinhas
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list