Hello!

gcc-2.96 from RedHat 7.0 emits a warning for almost every file when I
compile the CVS version of GRUB:

shared.h:249:43: warning: nothing can be pasted after this token

My understanding it that '##' is useless because the preprocessor cannot
"glue" (in its own words, "paste") the colon after the result of the macro
expansion for EXT_C. Fortunately, we don't even need it.

ChangeLog:
        * stage2/shared.h: Remove meaningless `##' in the definition
        of ENTRY.
__________________________________
Index: stage2/shared.h
--- stage2/shared.h
+++ stage2/shared.h
@@ -246,7 +246,7 @@
  *   command.
  */

-#define ENTRY(x) .globl EXT_C(x) ; EXT_C(x) ## :
+#define ENTRY(x) .globl EXT_C(x) ; EXT_C(x):
 #define VARIABLE(x) ENTRY(x)


__________________________________

Regards,
Pavel Roskin


_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to