Author: tkreuzer
Date: Tue Mar 10 00:09:58 2015
New Revision: 66639
URL: http://svn.reactos.org/svn/reactos?rev=66639&view=rev
Log:
[CMAKE]
Make warning C4716 (function must return a value) an error on MSVC
Modified:
trunk/reactos/cmake/msvc.cmake
Modified: trunk/reactos/cmake/msvc.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=66639…
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Tue Mar 10 00:09:58 2015
@@ -57,7 +57,8 @@
# - C4229: modifiers on data are ignored
# - C4700: uninitialized variable usage
# - C4603: macro is not defined or definition is different after precompiled header use
-add_compile_flags("/we4013 /we4020 /we4022 /we4047 /we4098 /we4113 /we4129 /we4163 /we4229 /we4700 /we4603")
+# - C4716: function must return a value
+add_compile_flags("/we4013 /we4020 /we4022 /we4047 /we4098 /we4113 /we4129 /we4163 /we4229 /we4700 /we4603 /we4716")
# Enable warnings above the default level, but don't treat them as errors:
# - C4115: named type definition in parentheses