Author: akhaldi
Date: Tue Sep 9 18:42:43 2014
New Revision: 64097
URL:
http://svn.reactos.org/svn/reactos?rev=64097&view=rev
Log:
[CMAKE/CLANG]
* Add -Wno-microsoft only for C modules at the moment (as we're using g++ for c++
modules).
CORE-8516
Modified:
trunk/reactos/cmake/gcc.cmake
Modified: trunk/reactos/cmake/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=64097&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Tue Sep 9 18:42:43 2014
@@ -32,8 +32,7 @@
endif()
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
- add_compile_flags_language("-std=gnu89" "C")
- add_compile_flags("-Wno-microsoft")
+ add_compile_flags_language("-std=gnu89 -Wno-microsoft" "C")
set(CMAKE_LINK_DEF_FILE_FLAG "")
set(CMAKE_STATIC_LIBRARY_SUFFIX ".a")
set(CMAKE_LINK_LIBRARY_SUFFIX "")