mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
add -Wunused-parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35264 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0e482e2392
commit
d85f8c115f
@ -232,7 +232,7 @@ if(NOT MSVC)
|
||||
if(NOT LYX_QUIET)
|
||||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
endif()
|
||||
set(LYX_CXX_FLAGS -Wall)
|
||||
set(LYX_CXX_FLAGS -Wall -Wunused-parameter)
|
||||
if(LYX_STDLIB_DEBUG)
|
||||
set(LYX_CXX_FLAGS "${LYX_CXX_FLAGS} -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user