In compiler.h we have
#ifndef UNUSED
# if defined(__GNUC__) && !defined(__cplusplus) &&
!defined(__INTEL_COMPILER)
#  define ATTRIBUTE_UNUSED __attribute__ ((unused))
# else
#  define ATTRIBUTE_UNUSED
# endif
Why isn't this done for C++?  At least for g++ 4.1.2 it works fine
(and it suppresses a bunch of warnings).
Jerry?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta