Skip to content

Commit

Permalink
[build] Remove enum-enum conversion warning suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul committed Dec 6, 2024
1 parent 60198c0 commit b31b976
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cmake/modules/CompileWarnings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ macro(wpilib_target_warnings target)
)
endif()

# Suppress C++-specific OpenCV warning; C compiler rejects it with an error
# https://github.com/opencv/opencv/issues/20269
if(UNIX AND NOT APPLE)
target_compile_options(
${target}
PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-Wno-deprecated-enum-enum-conversion>
)
elseif(UNIX AND APPLE)
target_compile_options(
${target}
PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-Wno-deprecated-anon-enum-enum-conversion>
)
endif()

# Suppress warning "enumeration types with a fixed underlying type are a
# Clang extension"
if(APPLE)
Expand Down

0 comments on commit b31b976

Please sign in to comment.