# HG changeset patch # User stephent # Date 1110769398 0 # Node ID 5d63eacf17f11af98afd10498abc103fa683479b # Parent e22219e8a8274ed5bb11ec903f62052f35d5fd9a [xemacs-hg @ 2005-03-14 03:03:11 by stephent] document assert -> empty statement <873buzexqp.fsf@tleepslib.sk.tsukuba.ac.jp> diff -r e22219e8a827 -r 5d63eacf17f1 man/ChangeLog --- 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 + + * 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 * XEmacs 21.5.20 "cilantro" is released. diff -r e22219e8a827 -r 5d63eacf17f1 man/internals/internals.texi --- 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