Skip to content

Commit

Permalink
Fix clang diagnostic versions.
Browse files Browse the repository at this point in the history
Signed-off-by: owent <[email protected]>
  • Loading branch information
owent committed Mar 23, 2023
1 parent 7be0639 commit 3eb7b5e
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@
# pragma clang diagnostic ignored "-Wshadow"
# pragma clang diagnostic ignored "-Wuninitialized"
# pragma clang diagnostic ignored "-Wconversion"
# if !(((__clang_major__ * 100) + __clang_minor__) >= 305)
# pragma clang diagnostic ignored "-Wsuggest-override"
# if ((__clang_major__ * 100) + __clang_minor__) >= 305
# pragma clang diagnostic ignored "-Wfloat-conversion"
# endif
# if ((__clang_major__ * 100) + __clang_minor__) >= 306
# pragma clang diagnostic ignored "-Winconsistent-missing-override"
# endif
# if !(((__clang_major__ * 100) + __clang_minor__) >= 309)
# pragma clang diagnostic ignored "-Wfloat-conversion"
# if ((__clang_major__ * 100) + __clang_minor__) >= 1100
# pragma clang diagnostic ignored "-Wsuggest-override"
# endif
#endif

0 comments on commit 3eb7b5e

Please sign in to comment.