diff options
| author | Mai M <mathew1800@gmail.com> | 2022-04-08 00:19:00 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-08 00:19:00 -0400 | 
| commit | 21359936b84b30b7b83de31d86ee2bbe0bc668d3 (patch) | |
| tree | dda60afa3a1fc4eaf4ca5b6c3fbc27a007265d8e | |
| parent | 50b10c4bac72fefe48d68c67d87ad9dca84b9b1b (diff) | |
| parent | be95b5a954bb9c8f69d77899ed254591536a4151 (diff) | |
Merge pull request #8173 from Morph1984/msvc-warn-unused-fn
CMakeLists: Enforce C4505 and C5245
| -rw-r--r-- | src/CMakeLists.txt | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3ad2c0950..9182dbfd4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -65,12 +65,14 @@ if (MSVC)          /we4305 # 'context': truncation from 'type1' to 'type2'          /we4388 # 'expression': signed/unsigned mismatch          /we4389 # 'operator': signed/unsigned mismatch +        /we4505 # 'function': unreferenced local function has been removed          /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' +        /we5245 # 'function': unreferenced function with internal linkage has been removed      )      if (ARCHITECTURE_x86_64)  | 
