mirror of
https://github.com/fmang/opustags.git
synced 2025-03-13 08:00:07 +01:00
don't warn about unused parameters
it gets annoying, and dropping the names of the parameters in the prototypes sounds like a terrible solution
This commit is contained in:
parent
dd0656cb07
commit
52e4a8ca58
@ -20,6 +20,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wold-style-cast")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") # for MinGW-w64
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user