From e4e3ab5ad4749f7d157da8e34c9ffa7175dc6866 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Sat, 24 Jun 2000 09:21:22 +0000 Subject: [PATCH] * cpp.texi: Clarify #pragma GCC namespace. From-SVN: r34676 --- gcc/ChangeLog | 4 ++++ gcc/cpp.texi | 13 +++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0185eba..46bb63a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-06-24 Nathan Sidwell + + * cpp.texi: Clarify #pragma GCC namespace. + 2000-06-24 Philipp Thomas * aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build diff --git a/gcc/cpp.texi b/gcc/cpp.texi index 20f278d..6413eec 100644 --- a/gcc/cpp.texi +++ b/gcc/cpp.texi @@ -2646,10 +2646,15 @@ some old C programs contain such lines. The ANSI standard specifies that the effect of the @samp{#pragma} directive is implementation-defined. The GNU C preprocessor recognizes some pragmas, and passes unrecognized ones through to the preprocessor -output, so they are available to the compilation pass. GNU C preprocessor -pragmas are of the form @samp{#pragma GCC ...}. For backwards -compatibility previously supported pragmas are also recognized without -the @samp{GCC}, however that use is deprecated. +output, so they are available to the compilation pass. + +In line with the C99 standard, which introduces a STDC namespace for +C99 pragmas, the preprocessor introduces a GCC namespace for GCC +pragmas. Supported GCC preprocessor pragmas are of the form +@samp{#pragma GCC ...}. For backwards compatibility previously +supported pragmas are also recognized without the @samp{GCC} prefix, +however that use is deprecated. Pragmas that are already deprecated +are not recognized with a @samp{GCC} prefix. @findex #ident The @samp{#ident} directive is supported for compatibility with certain -- 2.7.4