changeset 2662:5d63eacf17f1

[xemacs-hg @ 2005-03-14 03:03:11 by stephent] document assert -> empty statement <873buzexqp.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 14 Mar 2005 03:03:18 +0000
parents e22219e8a827
children d5a00a8fb31a
files man/ChangeLog man/internals/internals.texi
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/ChangeLog	Mon Mar 14 02:42:59 2005 +0000
+++ b/man/ChangeLog	Mon Mar 14 03:03:18 2005 +0000
@@ -1,3 +1,8 @@
+2005-03-14  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* internals/internals.texi (How Lisp Objects Are Represented in C):
+	Document compiler warnings when assert expands to empty statement.
+
 2005-03-11  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* XEmacs 21.5.20 "cilantro" is released.
--- a/man/internals/internals.texi	Mon Mar 14 02:42:59 2005 +0000
+++ b/man/internals/internals.texi	Mon Mar 14 03:03:18 2005 +0000
@@ -7318,6 +7318,10 @@
 nothing unless the corresponding configure error checking flag was
 specified.
 
+Note that in some cases @samp{assert}s will expand to nothing in a
+context where that produces an empty statement.  Some compilers will
+warn about this.
+
 @node Allocation of Objects in XEmacs Lisp, The Lisp Reader and Compiler, How Lisp Objects Are Represented in C, Top
 @chapter Allocation of Objects in XEmacs Lisp
 @cindex allocation of objects in XEmacs Lisp