]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
Implement #pragma GCC warning/error
authorFlorian Weimer <fweimer@redhat.com>
Thu, 4 Oct 2012 15:33:11 +0000 (17:33 +0200)
committerFlorian Weimer <fw@gcc.gnu.org>
Thu, 4 Oct 2012 15:33:11 +0000 (17:33 +0200)
commitf591bd8f507db985a2d194b3b58b5d8b128dce0a
tree3992b4ad76993de282e9b81bbe8d85f5c7834619
parentc62b924434c30cc417df9c1f0bac770e653f0241
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.

From-SVN: r192084
gcc/ChangeLog
gcc/doc/cpp.texi
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cpp/diagnostic-pragma-1.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c