Skip to content

Commit

Permalink
Merge pull request #623 from brechtvl/clang-warning
Browse files Browse the repository at this point in the history
Fix Clang showing incorrect GCC version warning
  • Loading branch information
jserv authored Jan 2, 2024
2 parents 25e2a60 + e04100b commit 4614a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sse2neon.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
#pragma message("Macro name collisions may happen with unsupported compilers.")
#endif

#if defined(__GNUC__) && __GNUC__ < 10
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 10
#warning "GCC versions earlier than 10 are not supported."
#endif

Expand Down

0 comments on commit 4614a1a

Please sign in to comment.