Browse Source
Merge pull request #6328 from Morph1984/enforce-c4715
CMakeLists: Enforce C4715 on MSVC
pull/15/merge
Mat M
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/CMakeLists.txt
|
|
|
@ -54,6 +54,7 @@ if (MSVC) |
|
|
|
/we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect |
|
|
|
/we4549 # 'operator1': operator before comma has no effect; did you intend 'operator2'? |
|
|
|
/we4555 # Expression has no effect; expected expression with side-effect |
|
|
|
/we4715 # 'function': not all control paths return a value |
|
|
|
/we4834 # Discarding return value of function with 'nodiscard' attribute |
|
|
|
/we5038 # data member 'member1' will be initialized after data member 'member2' |
|
|
|
) |
|
|
|
|