mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
[upstream_utils] Fix protobuf GNUC_MINOR macro (#7316)
This commit is contained in:
@@ -182,7 +182,7 @@ static_assert(kFmtShift + kFmtBits <= 16, "too many bits");
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#if __GNUC__ >= 12 || (__GNUC__ == 11 && __GNUC_MINOR >= 1)
|
||||
#if __GNUC__ >= 12 || (__GNUC__ == 11 && __GNUC_MINOR__ >= 1)
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user