diff --git a/library.properties b/library.properties index db582cc..32bef5b 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=FixMath -version=1.0.7 +version=1.0.8 author=Thomas Combriat and Thomas Friedrichsmeier maintainer=Thomas Combriat sentence=Fixed Point Arithmetics for Arduino and others diff --git a/src/FixMath_Autotests.h b/src/FixMath_Autotests.h index 995a66d..05fb43a 100644 --- a/src/FixMath_Autotests.h +++ b/src/FixMath_Autotests.h @@ -8,7 +8,7 @@ * */ -#if (defined(__GNUC__) && (__GNUC__ < 12)) || (__cplusplus >= 202002L) +#if (defined(__GNUC__) && (__GNUC__ < 10)) || (__cplusplus >= 202002L) // Bit-shifting negative number has not been formally defined behavior before C++ 2020, but rather technically "implementation defined". It thus // could not be used in constexpr statements (although working quite fine, at runtime). // At the time of this writing (07/2024), we do not have a c++ 2020 compiler running in our automated test workflow. However, older versions of GCC