[PATCH] Builtins and C++ and such

Jason Merrill jason@redhat.com
Wed Mar 20 04:51:00 GMT 2002


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



More information about the Gcc mailing list