diff options
author | Mai <mathew1800@gmail.com> | 2022-06-14 21:08:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 21:08:58 -0400 |
commit | 103997ee56ebec3f417e93ed42e3047d8005125b (patch) | |
tree | 18b81c112665f830371408599ae157fc83936a70 /src/video_core | |
parent | c9de5474bfb7543a01337b73c33c4bf3b76e276e (diff) | |
parent | 7620e1a631781b234b17cbbf7c5f7bd14d3115f9 (diff) |
Merge pull request #8383 from Morph1984/shadow-of-the-past
yuzu: Make variable shadowing a compile-time error
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index 256695804..14de7bc89 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -258,10 +258,6 @@ if (MSVC) target_compile_options(video_core PRIVATE /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data /we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data - /we4456 # Declaration of 'identifier' hides previous local declaration - /we4457 # Declaration of 'identifier' hides function parameter - /we4458 # Declaration of 'identifier' hides class member - /we4459 # Declaration of 'identifier' hides global declaration ) else() target_compile_options(video_core PRIVATE @@ -269,7 +265,6 @@ else() -Wno-error=sign-conversion -Werror=pessimizing-move -Werror=redundant-move - -Werror=shadow -Werror=type-limits $<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess> |