From 092ea8530a1d3e895716f3e9972dbed0e390e8c5 Mon Sep 17 00:00:00 2001 From: Levi Armstrong Date: Wed, 17 Jan 2024 07:45:31 -0600 Subject: [PATCH] Update macros.h --- tesseract_common/include/tesseract_common/macros.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tesseract_common/include/tesseract_common/macros.h b/tesseract_common/include/tesseract_common/macros.h index 2eebe9d065e..e86cc72cfd7 100644 --- a/tesseract_common/include/tesseract_common/macros.h +++ b/tesseract_common/include/tesseract_common/macros.h @@ -41,8 +41,7 @@ _Pragma("GCC diagnostic ignored \"-Wfloat-conversion\"") \ _Pragma("GCC diagnostic ignored \"-Wunused-variable\"") \ _Pragma("GCC diagnostic ignored \"-Wsign-conversion\"") \ - _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \ - // NOLINTBEGIN + _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") #else #define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH \ _Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wall\"") \ @@ -56,8 +55,7 @@ _Pragma("GCC diagnostic ignored \"-Wclass-memaccess\"") \ _Pragma("GCC diagnostic ignored \"-Wsign-conversion\"") \ _Pragma("GCC diagnostic ignored \"-Wstringop-overflow\"") \ - _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \ - // NOLINTEND + _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") #endif #define TESSERACT_COMMON_IGNORE_WARNINGS_POP \