What steps will reproduce the problem?
1. compile latest svn version with g++
2.
3.
What is the expected output? What do you see instead?
The compilation fails with:
[ 14%] Building CXX object src/CMakeFiles/citygml.dir/parser.o
/home/patrick/projects/libcitygml-read-only-2/src/parser.cpp: In function
‘void parseVecList(std::stringstream&, std::vector<T, std::allocator<_CharT>
>&)’:
/home/patrick/projects/libcitygml-read-only-2/src/parser.cpp:235: error: must
#include <typeinfo> before using typeid
/home/patrick/projects/libcitygml-read-only-2/src/parser.cpp: In function
‘void parseVecList(std::stringstream&, std::vector<T, std::allocator<_CharT>
>&, GeoTransform*)’:
/home/patrick/projects/libcitygml-read-only-2/src/parser.cpp:251: error: must
#include <typeinfo> before using typeid
What version of the product are you using? On what operating system?
Ubuntu 10.04
Please provide any additional information below.
The issue is easily solved by adding #include <typeinfo> in the parser.cpp
(just as the error reveals).
That is all... after changing this the build is successful.
Original issue reported on code.google.com by hanckmann@gmail.com on 28 Sep 2010 at 8:41
Original issue reported on code.google.com by
hanckmann@gmail.com
on 28 Sep 2010 at 8:41