[mythtv] fix build on gcc-4
Mario Limonciello
mario.mailing at gmail.com
Tue Apr 12 00:05:30 UTC 2005
With what I have heard about how much better GCC4 is going to be, how
does myth run compiled on a gcc4 cvs snapshot as opposed to gcc 3.3.4?
Is there any differences speed wise you notice?
On Apr 11, 2005 7:55 PM, Ruediger Oertel <ro at suse.de> wrote:
> Hi,
>
> since the two other hunks I sent last night went in so easily,
> I've got another patch I'm using to compile mythtv with gcc-4
> (a cvs snapshot of April 10th of gcc-4).
>
> libs/libavcodec/avcodec.h:
> move struct AVOption out of there and add forward declaration
> libs/libavcodec/common.h:
> move struct AVOption to this place
> reason: an array of these structs is used and gcc-4
> will not accept arrays on forward declarated structs.
> libs/libavcodec/libpostproc/postprocess_template.c:
> fix a place where gcc complains the location modified
> is not an lvalue
>
> patch is attached. with this I'm able to build mythtv
> completely on gcc-4.
>
> --
> with kind regards (mit freundlichem Grinsen),
> Ruediger Oertel (ro at novell.com ,ro at suse.de ,bugfinder at t-online.de )
> ----------------------------------------------------------------------
> Linux fatou 2.6.11.4-17-smp #1 SMP Tue Mar 22 22:47:03 UTC 2005 x86_64
> Key fingerprint = 17DC 6553 86A7 384B 53C5 CA5C 3CE4 F2E7 23F2 B417
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
>
>
More information about the mythtv-dev
mailing list