From b31b976f7a10c590facce42b3a5ef3a41925e6a3 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Wed, 4 Dec 2024 20:58:53 -0800 Subject: [PATCH] [build] Remove enum-enum conversion warning suppression --- cmake/modules/CompileWarnings.cmake | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/cmake/modules/CompileWarnings.cmake b/cmake/modules/CompileWarnings.cmake index b56c175a9b3..9db54f955de 100644 --- a/cmake/modules/CompileWarnings.cmake +++ b/cmake/modules/CompileWarnings.cmake @@ -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 $<$:-Wno-deprecated-enum-enum-conversion> - ) - elseif(UNIX AND APPLE) - target_compile_options( - ${target} - PRIVATE $<$:-Wno-deprecated-anon-enum-enum-conversion> - ) - endif() - # Suppress warning "enumeration types with a fixed underlying type are a # Clang extension" if(APPLE)