Added -Wno-unused-parameter to disable annoying compiler warning
authorIngo Ruhnke <grumbel@gmail.com>
Wed, 30 Jul 2014 03:11:25 +0000 (05:11 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Wed, 30 Jul 2014 03:11:25 +0000 (05:11 +0200)
CMakeLists.txt

index 824db54..1add6ff 100644 (file)
@@ -240,7 +240,7 @@ IF(CMAKE_COMPILER_IS_GNUCC)
   SET(CMAKE_CXX_FLAGS_PROFILE "-pg" CACHE STRING "Profile flags")
   SET(CMAKE_C_FLAGS_PROFILE "-pg" CACHE STRING "Profile flags")
   SET(CMAKE_LD_FLAGS_PROFILE "-lgmon" CACHE STRING "Profile flags")
-  ADD_DEFINITIONS(-Wall -Wextra -funit-at-a-time)
+  ADD_DEFINITIONS(-Wall -Wextra -Wno-unused-parameter -funit-at-a-time)
   IF(WERROR)
     ADD_DEFINITIONS(-Werror)
   ELSE(WERROR)