Stephen J. Turnbull wrote:
> Fix compile issues for C89 compilers. Use log() instead of
log2().
GCC has a -C89 switch or something like that that either enforces or
warns about C89 compatibility.
-std=c89 (for C, this is equivalent to -ansi). If you use that switch,
you typically need to explicitly define feature macros (-D_POSIX_SOURCE,
-D_XOPEN_SOURCE, etc), otherwise the standard C headers (<stdio.h> etc)
will omit declarations which aren't part of the C standard.
--
Glynn Clements <glynn(a)gclements.plus.com>
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta