Skip to content

Commit

Permalink
Update macros.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong authored Jan 17, 2024
1 parent f604538 commit 092ea85
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tesseract_common/include/tesseract_common/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -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\"") \
Expand All @@ -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 \
Expand Down

0 comments on commit 092ea85

Please sign in to comment.