[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    NAG: kdemultimedia/juk/filehandleproperties.h
From:       Alfons Hoogervorst <alfons () proteus ! demon ! nl>
Date:       2004-05-21 17:50:08
Message-ID: 20040521195008.3e18aaea () proteus ! demon ! nl
[Download RAW message or body]

Lo,

Remember that the result of the ## operator should be one token (IIRC).

"struct . member" are two tokens.

Bye.

PS. Thanks for making the anoncvs.kde.org available again!

-- 
Ecuación algebraico sin solución posible,
a menos de poseer profundos conocimientos
en matemática - Revueltas (Ocho Por Radio)


["kdemultimedia.juk.filehandleproperties.h.patch" (text/plain)]

Index: filehandleproperties.h
===================================================================
RCS file: /home/kde/kdemultimedia/juk/filehandleproperties.h,v
retrieving revision 1.1
diff -u -r1.1 filehandleproperties.h
--- filehandleproperties.h	21 May 2004 07:29:42 -0000	1.1
+++ filehandleproperties.h	21 May 2004 17:38:21 -0000
@@ -33,7 +33,7 @@
         {                                                                           \
             virtual QString value(const FileHandle &f) const                        \
             {                                                                       \
-                return f.##method;                                                  \
+                return f.method;                                                    \
             }                                                                       \
             static const int dummy;                                                 \
         };                                                                          \
@@ -48,7 +48,7 @@
         {                                                                           \
             virtual QString value(const FileHandle &f) const                        \
             {                                                                       \
-                return QString::number(f.##method);                                 \
+                return QString::number(f.method);                                   \
             }                                                                       \
             static const int dummy;                                                 \
         };                                                                          \



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic