Skip to content

Commit

Permalink
Removed gcc-specific options from clang config (see tesseract-robotic…
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen authored and Levi-Armstrong committed Nov 25, 2023
1 parent baed739 commit 8a2095d
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions trajopt_common/include/trajopt_common/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@
#if defined(__clang__)
#define TRAJOPT_IGNORE_WARNINGS_PUSH \
_Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wall\"") \
_Pragma("GCC diagnostic ignored \"-Wint-to-pointer-cast\"") \
_Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
_Pragma("GCC diagnostic ignored \"-Winconsistent-missing-override\"") \
_Pragma("GCC diagnostic ignored \"-Wconversion\"") \
_Pragma("GCC diagnostic ignored \"-Wfloat-conversion\"") \
_Pragma("GCC diagnostic ignored \"-Wignored-qualifiers\"") \
_Pragma("GCC diagnostic ignored \"-Wclass-memaccess\"") \
_Pragma("GCC diagnostic ignored \"-Wsign-conversion\"")
_Pragma("GCC diagnostic ignored \"-Wint-to-pointer-cast\"") \
_Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
_Pragma("GCC diagnostic ignored \"-Winconsistent-missing-override\"") \
_Pragma("GCC diagnostic ignored \"-Wconversion\"") \
_Pragma("GCC diagnostic ignored \"-Wfloat-conversion\"") \
_Pragma("GCC diagnostic ignored \"-Wignored-qualifiers\"") \
_Pragma("GCC diagnostic ignored \"-Wsign-conversion\"")
#else
#define TRAJOPT_IGNORE_WARNINGS_PUSH \
_Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wall\"") \
Expand Down

0 comments on commit 8a2095d

Please sign in to comment.