diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2003-11-01 22:56:54 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2003-11-01 22:56:54 +0000 |
commit | 0527bc4ebf78a3e1ae984f978fb4f7118a180add (patch) | |
tree | 968c051f5c6b85312c57b38b07efd46743674b3b /gcc/cpplib.h | |
parent | 2f7b62efc51dd853ab5fa6e36cc0d15c831d6796 (diff) | |
download | gcc-0527bc4ebf78a3e1ae984f978fb4f7118a180add.zip gcc-0527bc4ebf78a3e1ae984f978fb4f7118a180add.tar.gz gcc-0527bc4ebf78a3e1ae984f978fb4f7118a180add.tar.bz2 |
re PR preprocessor/12847 (xxx.c:1:20: xxxx.h: No such file or directory)
PR preprocessor/12847
* cppfiles.c, cppexp.c, cpperror.c, cpplib.h, cpplib.c, cpplex.c,
cppinit.c, cpptrad.c, cppmacro.c, fix-header.c, cpppch.c, c-pch.c,
c-incpath.c, cppcharset.c (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN,
DL_ERROR, DL_ICE, DL_EXTRACT, DL_WARNING_P): Prefix macro names with
"CPP_".
From-SVN: r73183
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 15187c4..b104295 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -655,21 +655,21 @@ cpp_num cpp_num_sign_extend (cpp_num, size_t); with a line number of zero. */ /* Warning, an error with -Werror. */ -#define DL_WARNING 0x00 -/* Same as DL_WARNING, except it is not suppressed in system headers. */ -#define DL_WARNING_SYSHDR 0x01 +#define CPP_DL_WARNING 0x00 +/* Same as CPP_DL_WARNING, except it is not suppressed in system headers. */ +#define CPP_DL_WARNING_SYSHDR 0x01 /* Warning, an error with -pedantic-errors or -Werror. */ -#define DL_PEDWARN 0x02 +#define CPP_DL_PEDWARN 0x02 /* An error. */ -#define DL_ERROR 0x03 +#define CPP_DL_ERROR 0x03 /* An internal consistency check failed. Prints "internal error: ", - otherwise the same as DL_ERROR. */ -#define DL_ICE 0x04 + otherwise the same as CPP_DL_ERROR. */ +#define CPP_DL_ICE 0x04 /* Extracts a diagnostic level from an int. */ -#define DL_EXTRACT(l) (l & 0xf) +#define CPP_DL_EXTRACT(l) (l & 0xf) /* Nonzero if a diagnostic level is one of the warnings. */ -#define DL_WARNING_P(l) (DL_EXTRACT (l) >= DL_WARNING \ - && DL_EXTRACT (l) <= DL_PEDWARN) +#define CPP_DL_WARNING_P(l) (CPP_DL_EXTRACT (l) >= CPP_DL_WARNING \ + && CPP_DL_EXTRACT (l) <= CPP_DL_PEDWARN) /* N.B. The error-message-printer prototypes have not been nicely formatted because exgettext needs to see 'msgid' on the same line |