Patch: PR preprocessor/22168

Geoffrey Keating geoffk@apple.com
Tue Jul 3 00:28:00 GMT 2007


Hi Tom,

> libcpp
> 2006-12-29  Tom Tromey  <tromey@redhat.com>
>
> 	PR preprocessor/22168:
> 	* expr.c (eval_token): Warn for use of assertions.
> 	* directives.c (directive_diagnostics): Warn about extensions.
> 	* init.c (cpp_create_reader): Disable warn_deprecated by default.
>
> gcc
> 2006-12-29  Tom Tromey  <tromey@redhat.com>
>
> 	PR preprocessor/22168:
> 	* c.opt (Wdeprecated): Enable for C.
>
> gcc/testsuite
> 2006-12-29  Tom Tromey  <tromey@redhat.com>
>
> 	PR preprocessor/22168:
> 	* gcc.dg/cpp/assert4.c: Compile with -ansi and not -pedantic.
> 	* gcc.dg/cpp/pr22168.c: New file.
> 	* gcc.dg/cpp/pr22168-2.c: New file.

> -C++ ObjC++ Var(warn_deprecated) Init(1)
> +C C++ ObjC++ Var(warn_deprecated) Init(1)

Missing ObjC.  OK with that change.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2462 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070703/3389a66d/attachment.p7s>


More information about the Gcc-patches mailing list