Allow warnings for the moment

svn path=/trunk/; revision=58652
This commit is contained in:
Pierre Schweitzer 2013-04-02 20:10:15 +00:00
parent c7e88e5056
commit 111b9d1698

View file

@ -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)