Silence unused param compiler warnings because of Bison.

This commit is contained in:
Stefano Sanfilippo 2015-03-07 19:44:16 +01:00
parent becafb4cd5
commit d802eddd71

View File

@ -86,7 +86,7 @@ include_directories(
)
add_definitions(
-Wall -Wextra -Werror -Wno-deprecated-register -std=c++0x -DYYDEBUG=0 -O2
-Wall -Wextra -Werror -Wno-unused-parameter -Wno-deprecated-register -std=c++0x -DYYDEBUG=0 -O2
)
bison_target(Parser Monicelli.ypp ${CMAKE_CURRENT_BINARY_DIR}/Parser.cpp)