mirror of https://github.com/rusefi/rusefi.git
GCC-10 and C++ 2a: supress depricated volatile use errors (#3711)
This commit is contained in:
parent
a2bf7616ae
commit
5efb6fac1e
|
@ -62,7 +62,9 @@ endif
|
||||||
|
|
||||||
# C++ specific options here (added to USE_OPT).
|
# C++ specific options here (added to USE_OPT).
|
||||||
ifeq ($(USE_CPPOPT),)
|
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
|
endif
|
||||||
|
|
||||||
# Hellen is one of the boards which cares
|
# Hellen is one of the boards which cares
|
||||||
|
|
|
@ -14,11 +14,4 @@
|
||||||
#error "GCC compiler >= 9.3.1 required"
|
#error "GCC compiler >= 9.3.1 required"
|
||||||
#endif
|
#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
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue