Only use unused var warnings. Patch by Thomas.

CORE-4375

svn path=/trunk/; revision=74926
This commit is contained in:
Pierre Schweitzer 2017-06-05 16:02:47 +00:00
parent c91b3835c5
commit 3a11250596

View file

@ -46,9 +46,7 @@ if(MSVC)
# FIXME: Make sure we marked all what needs to be marked with stdcall before removing this.
add_target_compile_flags(udfs "/Gz")
else()
# FIXME: Tons of warnings.
replace_compile_flags("-Werror" " ")
add_target_compile_flags(udfs "-fpermissive")
add_target_compile_flags(udfs "-Wno-unused-but-set-variable")
endif()
set_module_type(udfs kernelmodedriver)
target_link_libraries(udfs ${PSEH_LIB})