Comment 0 for bug 1350052

Revision history for this message
Brandon Schaefer (brandontschaefer) wrote : Unity FTBFS (Possibly gcc 4.9 issue)

[ 17%] Building CXX object UnityCore/CMakeFiles/unity-core-6.0.dir/GLibDBusProxy.cpp.o
In file included from /home/bschaefer/src/unity/UnityCore/CheckOptionFilter.cpp:22:0:
/home/bschaefer/src/unity/UnityCore/CheckOptionFilter.cpp:28:16: error: ‘nux::logging::Logger& unity::dash::{anonymous}::logger()’ defined but not used [-Werror=unused-function]
 DECLARE_LOGGER(logger, "unity.dash.filter.checkoption");
                ^
/usr/include/Nux-4.0/NuxCore/Logger.h:75:27: note: in definition of macro ‘DECLARE_LOGGER’
   ::nux::logging::Logger& logger() \
                           ^
In file included from /home/bschaefer/src/unity/UnityCore/Model-inl.h:23:0,
                 from /home/bschaefer/src/unity/UnityCore/Model.h:107,
                 from /home/bschaefer/src/unity/UnityCore/Filters.h:26,
                 from /home/bschaefer/src/unity/UnityCore/Filter.cpp:21:
/home/bschaefer/src/unity/UnityCore/Filter.cpp:35:16: error: ‘nux::logging::Logger& unity::dash::{anonymous}::logger()’ defined but not used [-Werror=unused-function]
 DECLARE_LOGGER(logger, "unity.dash.filter");
                ^
/usr/include/Nux-4.0/NuxCore/Logger.h:75:27: note: in definition of macro ‘DECLARE_LOGGER’
   ::nux::logging::Logger& logger() \
                           ^
cc1plus: all warnings being treated as errors
UnityCore/CMakeFiles/unity-core-6.0.dir/build.make:169: recipe for target 'UnityCore/CMakeFiles/unity-core-6.0.dir/CheckOptionFilter.cpp.o' failed
make[2]: *** [UnityCore/CMakeFiles/unity-core-6.0.dir/CheckOptionFilter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
UnityCore/CMakeFiles/unity-core-6.0.dir/build.make:238: recipe for target 'UnityCore/CMakeFiles/unity-core-6.0.dir/Filter.cpp.o' failed
make[2]: *** [UnityCore/CMakeFiles/unity-core-6.0.dir/Filter.cpp.o] Error 1
CMakeFiles/Makefile2:6381: recipe for target 'UnityCore/CMakeFiles/unity-core-6.0.dir/all' failed
make[1]: *** [UnityCore/CMakeFiles/unity-core-6.0.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2