[MPlayer-dev-eng] [PATCH]Fix compilation with gcc 2.95.3
Carl Eugen Hoyos
cehoyos at rainbow.studorg.tuwien.ac.at
Fri Aug 14 11:06:36 CEST 2009
Hi!
I need attached patch to compile with gcc 2.95.3 on Opensuse 11.0.
Without it, compilation fails:
gcc -c -o stream/stream_pvr.o stream/stream_pvr.c
...
/usr/include/linux/videodev2.h:776: warning: unnamed struct/union that
defines no instances
...
stream/stream_pvr.c: In function `add_v4l2_ext_control':
stream/stream_pvr.c:1036: structure has no member named `value'
lines 768 - 777 of /usr/include/linux/videodev2.h:
struct v4l2_ext_control
{
__u32 id;
__u32 reserved2[2];
union {
__s32 value;
__s64 value64;
void *reserved;
};
} __attribute__ ((packed));
I will apply if nobody objects, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patchgcc2.diff
Type: text/x-diff
Size: 431 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090814/8aae8bb8/attachment.diff>
More information about the MPlayer-dev-eng
mailing list