diff mbox

[cpp,doc] Add a bit of background on assertions

Message ID alpine.LNX.2.00.1102260021030.15611@gerinyyl.fvgr
State New
Headers show

Commit Message

Gerald Pfeifer Feb. 25, 2011, 11:24 p.m. UTC
On Fri, 18 Feb 2011, Gerald Pfeifer wrote:
> I applied this to head and am thinking to also include it on the GCC 4.5 
> branch in a bit.

Done, thusly.  The main difference is the change of copyright dates,
which I also need to make on head, actually.

Gerald

2011-02-25  Gerald Pfeifer  <gerald@pfeifer.com>

	* doc/cpp.texi (Obsolete Features): Add background on the
	origin of assertions.
	Update copyright years.
diff mbox

Patch

Index: doc/cpp.texi
===================================================================
--- doc/cpp.texi	(revision 170505)
+++ doc/cpp.texi	(working copy)
@@ -12,7 +12,7 @@ 
 @c man begin COPYRIGHT
 Copyright @copyright{} 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-2008, 2009, 2010
+2008, 2009, 2010, 2011
 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
@@ -4161,9 +4161,10 @@ 
 define them with preprocessing directives or command-line options.
 
 Assertions were intended to provide a more systematic way to describe
-the compiler's target system.  However, in practice they are just as
-unpredictable as the system-specific predefined macros.  In addition, they
-are not part of any standard, and only a few compilers support them.
+the compiler's target system and we added them for compatibility with
+existing compilers.  In practice they are just as unpredictable as the
+system-specific predefined macros.  In addition, they are not part of
+any standard, and only a few compilers support them.
 Therefore, the use of assertions is @strong{less} portable than the use
 of system-specific predefined macros.  We recommend you do not use them at
 all.