plasmodic/ecto

LatticeSleep.cpp does not build with gcc 4.4

vrabaud opened this issue · 2 comments

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

fixed in trunk thx to gcc 4.7