diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-05-09 17:14:22 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-05-09 17:14:22 +0000 |
commit | c3bf3e6eba663670b5cc64df7374607bfa474e71 (patch) | |
tree | 01f729c62216201f8c59feee2235f99cff88f964 /gcc/cppmacro.c | |
parent | 2cb008afaa3d246ca7fe8c72e89f0198a836e7a8 (diff) | |
download | gcc-c3bf3e6eba663670b5cc64df7374607bfa474e71.zip gcc-c3bf3e6eba663670b5cc64df7374607bfa474e71.tar.gz gcc-c3bf3e6eba663670b5cc64df7374607bfa474e71.tar.bz2 |
cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
* cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
* cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
doc:
* cpp.texi: Update for removal of obsolete features.
testsuite:
* gcc.dg/cpp/poison.c: Update.
* gcc.dg/cpp/20000625-2.c: Remove.
* gcc.dg/cpp/direct2s.c: Remove final test.
From-SVN: r53333
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 876506b..b985995 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -435,9 +435,9 @@ paste_all_tokens (pfile, lhs) { _cpp_backup_tokens (pfile, 1); - /* Mandatory warning for all apart from assembler. */ + /* Mandatory error for all apart from assembler. */ if (CPP_OPTION (pfile, lang) != CLK_ASM) - cpp_error (pfile, DL_WARNING, + cpp_error (pfile, DL_ERROR, "pasting \"%s\" and \"%s\" does not give a valid preprocessing token", cpp_token_as_text (pfile, lhs), cpp_token_as_text (pfile, rhs)); |