diff options
| author | 2021-07-05 17:09:23 -0700 | |
|---|---|---|
| committer | 2021-07-05 17:09:23 -0700 | |
| commit | bf50345d4c13e34e69af0070632400b3472a1a11 (patch) | |
| tree | 1af5586d2d416c1a347ea0bfabed30a3a56d51e0 /src/core | |
| parent | Merge pull request #6556 from Morph1984/default-mii (diff) | |
| parent | CMakeLists: Disable all warnings for external headers (diff) | |
| download | yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.tar.gz yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.tar.xz yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.zip | |
Merge pull request #6537 from Morph1984/warnings
general: Enforce multiple warnings in MSVC
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/CMakeLists.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 83b5b7676..19b970981 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -654,17 +654,14 @@ endif() | |||
| 654 | 654 | ||
| 655 | if (MSVC) | 655 | if (MSVC) |
| 656 | target_compile_options(core PRIVATE | 656 | target_compile_options(core PRIVATE |
| 657 | /we4018 # 'expression' : signed/unsigned mismatch | 657 | /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data |
| 658 | /we4244 # 'argument' : conversion from 'type1' to 'type2', possible loss of data (floating-point) | 658 | /we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data |
| 659 | /we4245 # 'conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch | 659 | /we4245 # 'conversion': conversion from 'type1' to 'type2', signed/unsigned mismatch |
| 660 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data | 660 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data |
| 661 | /we4267 # 'var' : conversion from 'size_t' to 'type', possible loss of data | ||
| 662 | /we4305 # 'context' : truncation from 'type1' to 'type2' | ||
| 663 | /we4456 # Declaration of 'identifier' hides previous local declaration | 661 | /we4456 # Declaration of 'identifier' hides previous local declaration |
| 664 | /we4457 # Declaration of 'identifier' hides function parameter | 662 | /we4457 # Declaration of 'identifier' hides function parameter |
| 665 | /we4458 # Declaration of 'identifier' hides class member | 663 | /we4458 # Declaration of 'identifier' hides class member |
| 666 | /we4459 # Declaration of 'identifier' hides global declaration | 664 | /we4459 # Declaration of 'identifier' hides global declaration |
| 667 | /we4715 # 'function' : not all control paths return a value | ||
| 668 | ) | 665 | ) |
| 669 | else() | 666 | else() |
| 670 | target_compile_options(core PRIVATE | 667 | target_compile_options(core PRIVATE |