r192084 - in /trunk: gcc/ChangeLog gcc/doc/cpp....
fw@gcc.gnu.org
fw@gcc.gnu.org
Thu Oct 4 15:33:00 GMT 2012
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
More information about the Gcc-cvs
mailing list