LatticeSleep.cpp does not build with gcc 4.4
vrabaud opened this issue · 2 comments
vrabaud commented
As shown in the logs here:
http://build.willowgarage.com/job/prerelease_electric_object_recognition_maverick_amd64/30/consoleText
Shoud we add :
-fno-strict-aliasing
?
ethanrublee commented
here are the pertinent lines:
[ 15%] Building CXX object ecto/test/cells/CMakeFiles/ecto_test_ectomodule.dir/LatticeSleep.cpp.o
cc1plus: warnings being treated as errors
/tmp/install_dir/stack_overlay/object_recognition/object_recognition_core/build/source/ecto/include/ecto/except.hpp: In static member function 'static void ecto_test::LatticeSleep::declare_io(const ecto::tendrils&, ecto::tendrils&, ecto::tendrils&)':
/tmp/install_dir/stack_overlay/object_recognition/object_recognition_core/build/source/ecto/include/ecto/except.hpp:158: error: dereferencing pointer '<anonymous>' does break strict-aliasing rules
/tmp/install_dir/stack_overlay/object_recognition/object_recognition_core/build/source/ecto/include/ecto/except.hpp:158: note: initialized from here
make[3]: *** [ecto/test/cells/CMakeFiles/ecto_test_ectomodule.dir/LatticeSleep.cpp.o] Error 1
vrabaud commented
fixed in trunk thx to gcc 4.7