mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Remove C-only compiler flag
We don't have any own C source files anymore.
This commit is contained in:
parent
db5f28e65a
commit
cebc472cbe
|
@ -299,10 +299,6 @@ if(NOT MSVC AND NOT HAIKU)
|
|||
endif()
|
||||
|
||||
add_cxx_compiler_flag_if_supported(OUR_FLAGS_OWN -Wall)
|
||||
add_cxx_compiler_flag_if_supported(OUR_FLAGS_OWN
|
||||
$<$<COMPILE_LANGUAGE:C>:-Wdeclaration-after-statement>
|
||||
-Wdeclaration-after-statement
|
||||
)
|
||||
add_cxx_compiler_flag_if_supported(OUR_FLAGS_OWN -Wextra)
|
||||
add_cxx_compiler_flag_if_supported(OUR_FLAGS_OWN -Wno-psabi) # parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<CCommandProcessorFragment_Vulkan::SMemoryBlock<1>*, std::vector<CCommandProcessorFragment_Vulkan::SMemoryBlock<1>, std::allocator<CCommandProcessorFragment_Vulkan::SMemoryBlock<1> > > >’ changed in GCC 7.1
|
||||
add_cxx_compiler_flag_if_supported(OUR_FLAGS_OWN -Wno-unused-parameter)
|
||||
|
|
Loading…
Reference in a new issue