This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Builtins and C++ and such
- From: Jason Merrill <jason at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>,"jsm28 at cam dot ac dot uk" <jsm28 at cam dot ac dot uk>,"gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>,"bkoz at redhat dot com" <bkoz at redhat dot com>,"gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 20 Mar 2002 12:43:27 +0000
- Subject: Re: [PATCH] Builtins and C++ and such
- References: <Pine.LNX.4.33.0203200554590.6823-100000@www.eyesopen.com>
Touché. I'd still prefer to handle this differently, but your patch has the
twin benefits of being a) simple and b) available now. I'm inclined to
apply it. Mark, what do you think?
> *************** cxx_init_decl_processing ()
> *** 6439,6445 ****
> begin with `__'. Users should be using headers to get prototypes
> in C++. It would be nice if we could warn when `-fbuiltin' is
> used explicitly, but we do not have that information. */
> ! flag_no_builtin = 1;
> /* Initially, C. */
> current_lang_name = lang_name_c;
> --- 6444,6450 ----
> begin with `__'. Users should be using headers to get prototypes
> in C++. It would be nice if we could warn when `-fbuiltin' is
> used explicitly, but we do not have that information. */
> ! flag_no_builtin = 0;
You need to change the comment, too.
Jason