Public bug reported:

Confirmed gcc/g++ 4.9 causes this FTBFS

[ 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

** Affects: unity
     Importance: Critical
         Status: Triaged

** Affects: unity (Ubuntu)
     Importance: Critical
         Status: Triaged

** Also affects: unity (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: unity (Ubuntu)
       Status: New => Triaged

** Changed in: unity (Ubuntu)
   Importance: Undecided => Critical

** Description changed:

+ 4.8 worked fine, upgrade to 4.9 now unity FTBFS. Ill double check gcc
+ though.
+ 
  [ 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");
-                 ^
+  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()                   \
-                            ^
+    ::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:
+                  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");
-                 ^
+  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()                   \
-                            ^
+    ::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

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1350052

Title:
  Unity FTBFS - gcc 4.9

Status in Unity:
  Triaged
Status in “unity” package in Ubuntu:
  Triaged

Bug description:
  Confirmed gcc/g++ 4.9 causes this FTBFS

  [ 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1350052/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to     : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to