mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Scripting: fixed gcc 9.x build
This commit is contained in:
parent
c14d19be68
commit
c8e604a730
@ -6,7 +6,7 @@
|
||||
|
||||
#if defined(ARDUPILOT_BUILD)
|
||||
#pragma GCC diagnostic ignored "-Wfloat-equal"
|
||||
#if defined(__GNUC__) && __GNUC__ >= 7 || defined(__clang_major__) && __clang_major__ >= 11
|
||||
#if (defined(__GNUC__) && __GNUC__ >= 7 && __GNUC__ < 9) || (defined(__clang_major__) && __clang_major__ >= 11)
|
||||
#pragma GCC diagnostic ignored "-Wstring-plus-int"
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user