This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r192084 - in /trunk: gcc/ChangeLog gcc/doc/cpp....
- From: fw at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 04 Oct 2012 15:33:12 -0000
- Subject: r192084 - in /trunk: gcc/ChangeLog gcc/doc/cpp....
Author: fw
Date: Thu Oct 4 15:33:11 2012
New Revision: 192084
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192084
Log:
Implement #pragma GCC warning/error
2012-10-04 Florian Weimer <fweimer@redhat.com>
* doc/cpp.texi (Pragmas): Document #pragma GCC warning, #pragma
GCC error.
2012-10-04 Florian Weimer <fweimer@redhat.com>
* c-c++-common/cpp/diagnostic-pragma-1.c: New testcase.
2012-10-04 Florian Weimer <fweimer@redhat.com>
* directives.c (do_pragma_warning_or_error): New.
(do_pragma_warning): New.
(do_pragma_error): New.
(_cpp_init_internal_pragmas): Register new pragmas.
Added:
trunk/gcc/testsuite/c-c++-common/cpp/diagnostic-pragma-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/cpp.texi
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/directives.c