Suppress warning for Interfaces.C with -fdump-ada-spec
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 12 May 2020 20:41:09 +0000 (22:41 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 12 May 2020 20:42:17 +0000 (22:42 +0200)
commit11dd3be56b83d11465ae5d6ecd0d8096531678e5
tree92afa92a161826bfa118d94924b7ad9ee23fcc1d
parent2a0225e47868fbfceaecaa5e2de96c1c5a2251ea
Suppress warning for Interfaces.C with -fdump-ada-spec

The C/C++ bindings generated by means of -fdump-ada-spec always contain
with and use clauses for Interfaces.C, but they can be unused in some
cases so make sure to avoid warning about that.

* c-ada-spec.c (dump_ads): Output pragma Warnings ("U"); on entry.
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c