karrenberg/whole-function-vectorization — Issue #1: packetizerUnitTests does not build under OS X
Author: karrenberg
Created: 2011-11-08 22:43:36+00:00
State: open

```
make packetizerUnitTests
[...]
g++ -o packetizerUnitTests test/packetizerUnitTests.cpp -Wall -O3 -DNDEBUG -I src -I include -I /Users/ralf/proj/llvm/include -I test/gtest/include -L/Users/ralf/proj/llvm/lib -Llib `/Users/ralf/proj/llvm/bin/llvm-config --cxxflags --ldflags --libs all` -lgtest lib/libPacketizer.a
In file included from /usr/include/c++/4.2.1/tr1/tuple:159,
from test/gtest/include/gtest/internal/gtest-port.h:499,
from test/gtest/include/gtest/internal/gtest-internal.h:40,
from test/gtest/include/gtest/gtest.h:57,
from test/packetizerUnitTests.cpp:16:
/usr/include/c++/4.2.1/tr1/functional: In static member function ‘static bool std::tr1::_Function_base::_Base_manager<_Functor>::_M_manager(std::tr1::_Any_data&, const std::tr1::_Any_data&, std::tr1::_Manager_operation)’:
/usr/include/c++/4.2.1/tr1/functional:907: error: cannot use typeid with -fno-rtti
/usr/include/c++/4.2.1/tr1/functional: In static member function ‘static bool std::tr1::_Function_base::_Ref_manager<_Functor>::_M_manager(std::tr1::_Any_data&, const std::tr1::_Any_data&, std::tr1::_Manager_operation)’:
/usr/include/c++/4.2.1/tr1/functional:985: error: cannot use typeid with -fno-rtti
In file included from /usr/include/c++/4.2.1/tr1/repeat.h:74,
from /usr/include/c++/4.2.1/tr1/functional:1098,
from /usr/include/c++/4.2.1/tr1/tuple:159,
from test/gtest/include/gtest/internal/gtest-port.h:499,
from test/gtest/include/gtest/internal/gtest-internal.h:40,
from test/gtest/include/gtest/gtest.h:57,
from test/packetizerUnitTests.cpp:16:
/usr/include/c++/4.2.1/tr1/functional_iterate.h: In static member function ‘static bool std::tr1::_Function_handler::_M_manager(std::tr1::_Any_data&, const std::tr1::_Any_data&, std::tr1::_Manager_operation)’:
/usr/include/c++/4.2.1/tr1/functional_iterate.h:572: error: cannot use typeid with -fno-rtti
```