From 111b9d169827db972d9b8e9480e44cbae18004ae Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Tue, 2 Apr 2013 20:10:15 +0000 Subject: [PATCH] [CMIPCI] Allow warnings for the moment svn path=/trunk/; revision=58652 --- reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt b/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt index e32a6c54ef2..a0be26acdd8 100644 --- a/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt +++ b/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt @@ -38,7 +38,7 @@ if(MSVC) set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "/GR-") else() #add_target_compile_flags(portcls "-fno-exceptions -fno-rtti") - set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti -Wno-write-strings -Wno-switch") + set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti -Wno-write-strings -Wno-switch -Wno-switch-enum") endif() add_cd_file(TARGET cmipci DESTINATION reactos/system32/drivers FOR all) @@ -47,3 +47,5 @@ if(ARCH STREQUAL "i386") else() add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/CM8738-x64-WaveRT.inf" DESTINATION reactos/inf FOR all) endif() + +allow_warnings(cmipci)