diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2010-05-28 23:15:55 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2010-05-28 23:15:55 +0000 |
commit | 59cc9210fc47a5b2af679803c65669e7e501f0ab (patch) | |
tree | bbef9c35e3335826695cecc5a96f08d7e888cedd /depcomp | |
parent | bffad7f1cf127cbc4b103db2f30317e9f59422fd (diff) | |
download | gcc-59cc9210fc47a5b2af679803c65669e7e501f0ab.zip gcc-59cc9210fc47a5b2af679803c65669e7e501f0ab.tar.gz gcc-59cc9210fc47a5b2af679803c65669e7e501f0ab.tar.bz2 |
c-common.h (GCC_DIAG_STYLE): Define earlier in the file, before including diagnostic-core.h.
gcc/ChangeLog:
* c-common.h (GCC_DIAG_STYLE): Define earlier in the file,
before including diagnostic-core.h.
(c_cpp_error): New prototype moved from c-tree.h.
Use ATTRIBUTE_GCC_DIAG instead of ATTRIBUTE_GCC_CDIAG.
* c-tree.h (ATTRIBUTE_GCC_CDIAG): Remove define.
(pedwarn_c90, perwarn_c99): Use ATTRIBUTE_GCC_DIAG instead.
(c_cpp_error): Prototype moved to c-common.h.
* Makefile.in: Update dependency for C_COMMON_H.
cp/ChangeLog:
* cp-tree.h (ATTRIBUTE_GCC_CXXDIAG): Remove. Require that
this file is included before c-common.h. Define GCC_DIAG_STYLE
before including diagnostic-core.h and toplev.h.
(pedwarn_cxx98): Use ATTRIBUTE_GCC_DIAG.
* pt.c: Include cp-tree.h before c-common.h.
From-SVN: r160007
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions