C++: Remove classof traces

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon Apr 24 11:08:00 GMT 2000


> In the above patch, there is a slight grammatical error because
> there is only one word left:
> 
> "these words as identifiers" -> "this word as an identifier";
> "use the keywords" -> "use the keyword"

Thanks, I've installed the patch below.

Martin

2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>

	* invoke.texi: Correct grammatical errors, document
	-fno-gnu-keywords as identical to -fno-asm for C++.

Index: invoke.texi
===================================================================
RCS file: /cvs/gcc/egcs/gcc/invoke.texi,v
retrieving revision 1.185
diff -u -r1.185 invoke.texi
--- invoke.texi	2000/04/20 12:06:58	1.185
+++ invoke.texi	2000/04/24 17:57:39
@@ -745,8 +745,7 @@
 
 In C++, this switch only affects the @code{typeof} keyword, since
 @code{asm} and @code{inline} are standard keywords.  You may want to
-use the @samp{-fno-gnu-keywords} flag instead, as it also disables the
-other, C++-specific, extension keywords such as @code{headof}.
+use the @samp{-fno-gnu-keywords} flag instead, which has the same effect.
 
 @item -fno-builtin
 @cindex builtin functions
@@ -1099,9 +1098,9 @@
 otherwise be invalid, or have different behavior.
 
 @item -fno-gnu-keywords
-Do not recognize @code{typeof} as a keyword, so that code can use these
-words as identifiers. You can use the keywords @code{__typeof__}
-instead.  @samp{-ansi} implies @samp{-fno-gnu-keywords}.
+Do not recognize @code{typeof} as a keyword, so that code can use this
+word as an identifier. You can use the keyword @code{__typeof__} instead.  
+@samp{-ansi} implies @samp{-fno-gnu-keywords}.
 
 @item -fguiding-decls
 Treat a function declaration with the same type as a potential function


More information about the Gcc-patches mailing list