Skip to content

Commit

Permalink
fix compiler warning on old clang versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hurchalla committed Jan 31, 2025
1 parent 5f7b0c1 commit 3fcc91f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
# pragma warning(push)
# pragma warning(disable : 4127)
#endif
#ifdef __clang__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wc++98-c++11-c++14-compat"
#endif

namespace hurchalla { namespace detail {

Expand Down Expand Up @@ -253,6 +257,9 @@ template <> struct impl_unsigned_multiply_to_hilo_product<std::uint64_t> {
}} // end namespace


#ifdef __clang__
# pragma GCC diagnostic pop
#endif
#if defined(_MSC_VER)
# pragma warning(pop)
#endif
Expand Down

0 comments on commit 3fcc91f

Please sign in to comment.