This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C99 format functions: default attributes patch
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: C99 format functions: default attributes patch
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 31 Jul 2000 08:01:27 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.SOL.4.21.0007292318240.7971-100000@red.csi.cam.ac.uk>you wri
te:
> This patch adds the new C99 non-wide format functions to those for
> which GCC provides an automatic format attribute, in C99 mode.
>
> Properly, all the default format attributes should not apply if
> -ffreestanding, but this code is also used by C++ and I don't know
> what the right thing for C++ is. Does C++ distinguish freestanding
> and hosted implementations? If so, then the C++ front end should
> honour -ffreestanding (which at present it looks like it ignores).
>
> Bootstrapped with no regressions on i686-pc-linux-gnu.
>
> 2000-07-29 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * c-common.c (init_function_format_info): Add C99 format functions
> in C99 mode.
Thanks. Installed.
jeff