[Patch, committed] gcc/analyzer: Silence -Wpragma warns with GCC < 10
Tobias Burnus
tobias@codesourcery.com
Wed Sep 23 09:12:32 GMT 2020
Do what most other code does (I think ada/* does not):
Only set this pragma with GCC >= 10. This silences here
228 warnings of the kind:
analyzer.h:305:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]
Tobias
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter
More information about the Gcc-patches
mailing list