C macro expansion problem (was: dbus-python 0.82.1)

Thiago Macieira thiago at kde.org
Thu Jul 12 04:50:54 PDT 2007


Eyal Ben David wrote:
>I guess older gcc versions (actually the preprocessor) don't allow
>#ifdef inside a macro. When I used gcc 4.1 the release was built OK.

That's because that isn't allowed in C. But your case isn't a macro, but a 
string.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070712/ce7c265b/attachment.pgp 


More information about the dbus mailing list