>> Hans Verkuil wrote:
>>
>> But there's indeed no such problem with the kernel sources although the
>> kernel people have defines of the same style and use it the same way.
>
> Yes, how is that possible? Can you try to compile 2.6.14-rc3, and
> especially the tuner*.c sources in drivers/media/video that definitely use
> the same construct.

Google to the rescue: this works:

#define WM8775_DEBUG(fmt, arg...) \
        do { \
                        printf("%s debug %d-%04x: " fmt, "hello", \
                               1, 2 , ## arg); \
        } while (0)

Note the extra space in '2 ,'

         Hans


_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to