Author: tfaber
Date: Sun Nov 17 23:38:31 2013
New Revision: 61029
URL:
http://svn.reactos.org/svn/reactos?rev=61029&view=rev
Log:
[CMAKE]
- Make C4113 (function pointer parameter lists differ) an error. CORE-7538
- Properly ignore "export of deleting destructor" warning in msvcrt
Modified:
trunk/reactos/cmake/msvc.cmake
trunk/reactos/dll/win32/msvcrt/CMakeLists.txt
Modified: trunk/reactos/cmake/msvc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=61029…
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Sun Nov 17 23:38:31 2013
@@ -44,11 +44,12 @@
# - TODO: C4090: different 'modifier' qualifiers (for C programs only;
# for C++ programs, the compiler error C2440 is issued)
# - C4098: void function returning a value
+# - C4113: parameter lists differ
# - C4129: unrecognized escape sequence
# - TODO: C4133: incompatible types
# - C4229: modifiers on data are ignored
# - C4700: uninitialized variable usage
-add_compile_flags("/we4022 /we4047 /we4098 /we4129 /we4229 /we4700")
+add_compile_flags("/we4022 /we4047 /we4098 /we4113 /we4129 /we4229 /we4700")
# Debugging
#if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
Modified: trunk/reactos/dll/win32/msvcrt/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/msvcrt/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msvcrt/CMakeLists.txt [iso-8859-1] Sun Nov 17 23:38:31 2013
@@ -26,6 +26,7 @@
if(MSVC)
# export of deleting destructor "name"
add_target_link_flags(msvcrt "/ignore:4102")
+ add_target_link_flags(libmsvcrt "/ignore:4102")
endif()
add_importlibs(msvcrt kernel32 ntdll)