Skip to content

Commit 21f3f8d

Browse files
committed
Fix autotests for Arduino_STM32...
1 parent 886bf5b commit 21f3f8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FixMath_Autotests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*/
1010

11-
#if (defined(__GNUC__) && (__GNUC__ < 12) && !defined(ESP8266)) && !defined(ARDUINO_ARCH_SAMD) || (__cplusplus >= 202002L)
11+
#if (defined(__GNUC__) && (__GNUC__ < 9) && !defined(ESP8266)) && !defined(ARDUINO_ARCH_SAMD) || (__cplusplus >= 202002L)
1212
// Bit-shifting negative number has not been formally defined behavior before C++ 2020, but rather technically "implementation defined". It thus
1313
// could not be used in constexpr statements (although working quite fine, at runtime).
1414
// 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

0 commit comments

Comments
 (0)