diff options
| author | 2021-06-28 03:53:52 -0400 | |
|---|---|---|
| committer | 2021-06-28 14:20:25 -0400 | |
| commit | a47704f4dd38d57ffcd09bd22a727409340b662c (patch) | |
| tree | 1d1800db94236f2421103c0fbe4a53eeb402af3f | |
| parent | video_core: Silence signed/unsigned mismatch warnings (diff) | |
| download | yuzu-a47704f4dd38d57ffcd09bd22a727409340b662c.tar.gz yuzu-a47704f4dd38d57ffcd09bd22a727409340b662c.tar.xz yuzu-a47704f4dd38d57ffcd09bd22a727409340b662c.zip | |
video_core: Enforce C4242
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index e31eb30c0..e4de55f4d 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt | |||
| @@ -292,13 +292,12 @@ endif() | |||
| 292 | 292 | ||
| 293 | if (MSVC) | 293 | if (MSVC) |
| 294 | target_compile_options(video_core PRIVATE | 294 | target_compile_options(video_core PRIVATE |
| 295 | /we4267 # 'var' : conversion from 'size_t' to 'type', possible loss of data | 295 | /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data |
| 296 | /we4244 # 'var' : conversion from integer to 'type', possible loss of data | 296 | /we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data |
| 297 | /we4456 # Declaration of 'identifier' hides previous local declaration | 297 | /we4456 # Declaration of 'identifier' hides previous local declaration |
| 298 | /we4457 # Declaration of 'identifier' hides function parameter | 298 | /we4457 # Declaration of 'identifier' hides function parameter |
| 299 | /we4458 # Declaration of 'identifier' hides class member | 299 | /we4458 # Declaration of 'identifier' hides class member |
| 300 | /we4459 # Declaration of 'identifier' hides global declaration | 300 | /we4459 # Declaration of 'identifier' hides global declaration |
| 301 | /we4715 # 'function' : not all control paths return a value | ||
| 302 | ) | 301 | ) |
| 303 | else() | 302 | else() |
| 304 | target_compile_options(video_core PRIVATE | 303 | target_compile_options(video_core PRIVATE |