This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Builtins and C++ and such


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]