[AC21.5R21.4] etags and implicit tags
Francesco Potorti`
pot at gnu.org
Fri May 18 03:57:29 EDT 2007
>APPROVE COMMIT 21.5 RECOMMEND 21.4
>+2007-03-24 Stephen J. Turnbull <stephen at xemacs.org>
>+
>+ * etags.c (print_version): More precise version info. Suggested
>+ by Steve Youngs.
>+ (print_help): Use #ifdef; PRINT_UNDOCUMENTED_OPTIONS_HELP may be
>+ undefined.
>-#ifndef VERSION
>-# define VERSION "version"
>+#ifdef EMACS_VERSION
>+# ifdef XEMACS_EXTRA_NAME
>+# define E_VERSION EMACS_VERSION " " XEMACS_EXTRA_NAME
>+# else
>+# define E_VERSION EMACS_VERSION
>+# endif
>+#elif defined(VERSION)
>+# define E_VERSION VERSION
>+#else
>+# define E_VERSION "version"
> #endif
I would prefer avoiding this, if possible, by defining VERSION in the
Makefile as appropriate. Let us discuss it again at the next occasion,
so if you really think that this is necessary for you, we will try to
converge again.
>-# if PRINT_UNDOCUMENTED_OPTIONS_HELP
>+# ifdef PRINT_UNDOCUMENTED_OPTIONS_HELP
You changed this to quench a warning, as I understand. However, I do
not get any, using gcc 4.1.2 with -pedantic and -Wall. What compiler do
you use?
More information about the XEmacs-Patches
mailing list