Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: ANNOUNCE: VdrGames-Plugin-0.6.0



Hi

* Andreas Kool schrieb am 13.09.03, um 18:59 Uhr:
> Using gcc v3.3 i got:
> 
> .launcher.cpp:25:21: pasting "menu" and "[" does not give a valid preprocessing token

I had this problem too, the following patch fixes it:

--- defines.h.orig	2003-09-13 09:09:00.000000000 +0200
+++ defines.h	2003-09-13 16:32:13.000000000 +0200
@@ -11,7 +11,7 @@
                     int NAME ## _stop(void);                        \
                     int NAME ## _key(int k);
 
-#define MENUSTART(TYPE,NAME)   static TYPE NAME ## [] = {
+#define MENUSTART(TYPE,NAME)   static TYPE NAME [] = {
 #define MENUENTRY(NAME,PREFIX) { NAME ,            \
                                  PREFIX ## _start, \
                                  PREFIX ## _stop,  \


Thanks to Clemens, who helped me solving this some hours ago in
#linuxdvb. :-)

Greetings
Thomas

-- 
Thomas Schmidt
:wq

Attachment: pgp00001.pgp
Description: PGP signature


Home | Main Index | Thread Index