Skip to content

Commit

Permalink
Enable -Wshadow for main ut builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bocchino committed Mar 4, 2025
1 parent 9d112fe commit 0db0244
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ add_compile_options(
# Turn off -Wshadow for now in unit testing
# * The FPP-generated code needs more fixes
# * STest needs more fixes
if (BUILD_TESTING)
add_compile_options(
-Wno-shadow
)
endif()
#if (BUILD_TESTING)
# add_compile_options(
# -Wno-shadow
# )
#endif()

# Disable compiler-specific checks that F' doesn't comply with.
#
Expand Down

0 comments on commit 0db0244

Please sign in to comment.