Silence unused param compiler warnings because of Bison.
This commit is contained in:
parent
becafb4cd5
commit
d802eddd71
|
@ -86,7 +86,7 @@ include_directories(
|
||||||
)
|
)
|
||||||
|
|
||||||
add_definitions(
|
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)
|
bison_target(Parser Monicelli.ypp ${CMAKE_CURRENT_BINARY_DIR}/Parser.cpp)
|
||||||
|
|
Reference in New Issue
Block a user