mirror of
https://github.com/reactos/reactos.git
synced 2025-05-23 11:04:52 +00:00
[CMAKE] Turn C4715: "'function': not all control paths return a value" into an error on MSVC builds
This commit is contained in:
parent
1539fb1414
commit
767d424b0a
1 changed files with 2 additions and 1 deletions
|
@ -97,8 +97,9 @@ add_compile_flags("/wd4018")
|
|||
# - C4312: conversion from '<integer>' to '<pointer>' of greater size
|
||||
# - C4603: macro is not defined or definition is different after precompiled header use
|
||||
# - C4700: uninitialized variable usage
|
||||
# - C4715: 'function': not all control paths return a value
|
||||
# - C4716: function must return a value
|
||||
add_compile_flags("/we4013 /we4020 /we4022 /we4028 /we4047 /we4098 /we4113 /we4129 /we4133 /we4163 /we4229 /we4311 /we4312 /we4603 /we4700 /we4716")
|
||||
add_compile_flags("/we4013 /we4020 /we4022 /we4028 /we4047 /we4098 /we4113 /we4129 /we4133 /we4163 /we4229 /we4311 /we4312 /we4603 /we4700 /we4715 /we4716")
|
||||
|
||||
# - C4189: local variable initialized but not referenced
|
||||
# Not in Release mode and not with MSVC 2010
|
||||
|
|
Loading…
Reference in a new issue