plasmodic / ecto

ecto is a dynamically configurable Directed Acyclic processing Graph (DAG) framework.
http://ecto.willowgarage.com/
BSD 3-Clause "New" or "Revised" License
97 stars 37 forks source link

LatticeSleep.cpp does not build with gcc 4.4 #201

Closed vrabaud closed 12 years ago

vrabaud commented 12 years ago

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 12 years ago

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 12 years ago

fixed in trunk thx to gcc 4.7