Hans Verkuil wrote:
I wonder if we're not having some other problem. The oldest compiler I
have available to me is 2.96 and this construct compiles without problem
there. I couldn't compile the driver itself (it's a chroot environment) so
...
Can you try this with the Debian compiler?
~> gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
~> cc -o -Wall test1.c
test1.c: In function `test':
test1.c:11: parse error before `)'
If you want i can make a patch that changes calls like 'M("x")' to
'M("x%s", "")' for the two affected defines. This will avoid errors and
warnings, too.
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.
Leo
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel