diff --git a/include/ccmath/internal/support/limits.hpp b/include/ccmath/internal/support/limits.hpp index a1ae6708..54ef5d9f 100644 --- a/include/ccmath/internal/support/limits.hpp +++ b/include/ccmath/internal/support/limits.hpp @@ -17,7 +17,7 @@ namespace ccm::support { - enum class float_round_style : std::int8_t + enum float_round_style : std::int8_t { round_indeterminate = -1, round_toward_zero = 0, diff --git a/include/ccmath/internal/types/uint.hpp b/include/ccmath/internal/types/uint.hpp index b5d4200a..13141e80 100644 --- a/include/ccmath/internal/types/uint.hpp +++ b/include/ccmath/internal/types/uint.hpp @@ -16,9 +16,9 @@ #include "ccmath/internal/predef/unlikely.hpp" #include "ccmath/internal/predef/compiler_warnings_and_errors.hpp" // Required to disable -fpermissive #include "ccmath/internal/support/bits.hpp" +#include "ccmath/internal/support/limits.hpp" #include "ccmath/internal/support/math_support.hpp" #include "ccmath/internal/support/type_identity.hpp" -#include "ccmath/internal/support/limits.hpp" #include #include // For std::size_t @@ -36,7 +36,7 @@ namespace ccm::internal { // This is a workaround to get -Wpedantic to not complain about the use of - // unsigned __int128 in a non-iso function. + // unsigned __int128, a non-iso type, inside of an iso function. __extension__ using uint128_t = unsigned __int128; } // namespace ccm::internal #endif // defined(__SIZEOF_INT128__)