mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-31 21:50:37 +00:00
remove -Wno-cast-qual flag
This commit is contained in:
parent
03d2adbd7d
commit
f0f9ebeefb
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ if ( CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang" OR CMAKE_C_
|
||||||
endif ( NOT APPLE AND NOT OS2 )
|
endif ( NOT APPLE AND NOT OS2 )
|
||||||
|
|
||||||
# define some warning flags
|
# define some warning flags
|
||||||
set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Wpointer-arith -Wno-cast-qual -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement" )
|
set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement" )
|
||||||
|
|
||||||
if ( CMAKE_C_COMPILER_ID STREQUAL "Intel" )
|
if ( CMAKE_C_COMPILER_ID STREQUAL "Intel" )
|
||||||
# icc needs the restrict flag to recognize C99 restrict pointers
|
# icc needs the restrict flag to recognize C99 restrict pointers
|
||||||
|
|
Loading…
Reference in a new issue