From: Eric Botcazou <ebotcazou@adacore.com>
To: Ian Lance Taylor <iant@google.com>
Cc: gcc@gcc.gnu.org, Richard Guenther <richard.guenther@gmail.com>,
Laurent GUERBY <laurent@guerby.net>
Subject: Re: Phase 1 of gcc-in-cxx now complete (Ada)
Date: Sat, 27 Jun 2009 10:55:00 -0000 [thread overview]
Message-ID: <200906271236.28446.ebotcazou@adacore.com> (raw)
In-Reply-To: <m3fxdo9cdu.fsf@google.com>
> Interesting. I've been testing my -Wc++-compat patches with full
> bootstraps including Ada, but I just looked at my make log and it does
> indeed appear that -Wc++-compat doesn't make it onto the Ada files.
>
> It seems to be because of this line in ada/gcc-interface/Make-lang.in:
>
> ada-warn = $(ADA_CFLAGS) $(WERROR)
>
> The other languages use
>
> DIR-warn = $(STRICT_WARN)
>
> which is what brings in -Wc++-compat.
I get -Wc++-compat warnings though:
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c: In
function 'substitute_in_type':
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7865:8: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7886:4: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7894:11: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7907:4: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7911:11: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7917:7: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7918:11: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7921:34: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7938:2: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7947:9: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7960:2: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:7992:33: warning:
identifier 'new' conflicts with C++ keyword
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c:8008:9: warning:
identifier 'new' conflicts with C++ keyword
but they don't stop the build because -Werror is not passed. That needs to be
fixed first.
--
Eric Botcazou
next prev parent reply other threads:[~2009-06-27 10:35 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-25 20:33 Phase 1 of gcc-in-cxx now complete Ian Lance Taylor
2009-06-25 21:39 ` Richard Guenther
2009-06-25 22:17 ` Phase 1 of gcc-in-cxx now complete (Ada) Laurent GUERBY
2009-06-25 22:19 ` Richard Guenther
2009-06-25 22:38 ` Ian Lance Taylor
2009-06-26 11:20 ` Laurent GUERBY
2009-06-26 14:48 ` Ian Lance Taylor
2009-06-26 15:36 ` Arnaud Charlet
2009-06-26 15:59 ` Laurent GUERBY
2009-06-26 17:32 ` Ian Lance Taylor
2009-06-26 17:36 ` Arnaud Charlet
2009-06-26 17:38 ` Robert Dewar
2009-06-26 17:59 ` Arnaud Charlet
2009-06-26 18:07 ` Ian Lance Taylor
2009-06-26 18:18 ` Robert Dewar
2009-06-26 19:24 ` Laurent GUERBY
2009-06-26 19:24 ` Arnaud Charlet
2009-06-26 23:53 ` Ian Lance Taylor
2009-06-27 11:24 ` Laurent GUERBY
2009-06-27 11:54 ` Eric Botcazou
2009-06-27 12:53 ` Laurent GUERBY
2009-06-27 13:39 ` Laurent GUERBY
2009-06-27 16:14 ` Paolo Bonzini
2009-06-27 10:55 ` Eric Botcazou [this message]
2009-06-25 22:51 ` Ian Lance Taylor
2009-06-25 22:29 ` Phase 1 of gcc-in-cxx now complete Joseph S. Myers
2009-06-25 22:47 ` Eric Botcazou
2009-06-25 22:49 ` Joe Buck
2009-06-26 7:09 ` Gabriel Dos Reis
2009-06-26 14:12 ` Jack Howarth
2009-06-26 18:21 ` Adam Nemet
2009-06-27 16:51 ` Adam Nemet
2009-06-27 18:07 ` David Edelsohn
2009-06-27 19:50 ` Sebastian Pop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200906271236.28446.ebotcazou@adacore.com \
--to=ebotcazou@adacore.com \
--cc=gcc@gcc.gnu.org \
--cc=iant@google.com \
--cc=laurent@guerby.net \
--cc=richard.guenther@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).