GCC-10 and C++ 2a: supress depricated volatile use errors (#3711)

This commit is contained in:
Andrey G 2021-12-21 22:38:49 +03:00 committed by GitHub
parent a2bf7616ae
commit 5efb6fac1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 8 deletions

View File

@ -62,7 +62,9 @@ endif
# C++ specific options here (added to USE_OPT).
ifeq ($(USE_CPPOPT),)
USE_CPPOPT = -std=c++2a -Wno-register -fno-rtti -fno-threadsafe-statics -fno-exceptions -fno-use-cxa-atexit
USE_CPPOPT = -std=c++2a -Wno-register -fno-rtti -fno-threadsafe-statics -fno-exceptions -fno-use-cxa-atexit
# gcc-10 c++ 2a depricated uses of volatile errors
USE_CPPOPT += -Wno-deprecated
endif
# Hellen is one of the boards which cares

View File

@ -14,11 +14,4 @@
#error "GCC compiler >= 9.3.1 required"
#endif
#if (GCC_VERSION > 1000)
#pragma message("GCC is " STR(__GNUC__)"."STR(__GNUC_MINOR__)"."STR(__GNUC_PATCHLEVEL__))
#error "GCC10 not supported see https://github.com/rusefi/rusefi/labels/Gcc10"
#endif
#endif