Skip to content

Commit

Permalink
Fix possible compile error when __GNUC__ is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
biojppm committed Mar 10, 2023
1 parent 13b2139 commit a603607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/current.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
=== Fixes ===

* Fix pedantic warnings in VS2022
* Fix possible compile error when __GNUC__ is not defined
2 changes: 1 addition & 1 deletion src/c4/charconv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
# if C4CORE_HAVE_FAST_FLOAT
C4_SUPPRESS_WARNING_GCC_WITH_PUSH("-Wsign-conversion")
C4_SUPPRESS_WARNING_GCC("-Warray-bounds")
# if __GNUC__ >= 5
# if defined(__GNUC__) && __GNUC__ >= 5
C4_SUPPRESS_WARNING_GCC("-Wshift-count-overflow")
# endif
# include "c4/ext/fast_float.hpp"
Expand Down

0 comments on commit a603607

Please sign in to comment.