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/doc/cpp.texi | |
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/doc/cpp.texi')
-rw-r--r-- | gcc/doc/cpp.texi | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index 1941753..a7f3cd2 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -176,7 +176,6 @@ Obsolete Features * Assertions:: * Obsolete once-only headers:: -* Miscellaneous obsolete features:: @end detailmenu @end menu @@ -3625,7 +3624,6 @@ In some cases, we plan to remove the feature in a future version of GCC@. @menu * Assertions:: * Obsolete once-only headers:: -* Miscellaneous obsolete features:: @end menu @node Assertions @@ -3748,41 +3746,6 @@ matter what. but it is not recognized by all preprocessors, so you cannot rely on it in a portable program. -@node Miscellaneous obsolete features -@subsection Miscellaneous obsolete features - -Here are a few more obsolete features. - -@itemize @bullet -@cindex invalid token paste -@item Attempting to paste two tokens which together do not form a valid -preprocessing token. - -The preprocessor currently warns about this and outputs the two tokens -adjacently, which is probably the behavior the programmer intends. It -may not work in future, though. - -Most of the time, when you get this warning, you will find that @samp{##} -is being used superstitiously, to guard against whitespace appearing -between two tokens. It is almost always safe to delete the @samp{##}. - -@cindex pragma poison -@item @code{#pragma poison} - -This is the same as @code{#pragma GCC poison}. The version without the -@code{GCC} prefix is deprecated. @xref{Pragmas}. - -@cindex multi-line string constants -@item Multi-line string constants - -Older versions of GCC allowed string constants to extend across -multiple logical lines of the source file. This ill-considered -extension has now been removed. Instead, make use of ISO C -concatenation of adjacent string literals, or use @samp{\n} followed -by a backslash-newline. - -@end itemize - @node Differences from previous versions @section Differences from previous versions @cindex differences from previous versions |