swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Compile problems with PHP 5 and GCC 4


From: Daichi Shinozaki
Subject: Re: [Swftools-common] Compile problems with PHP 5 and GCC 4
Date: Sat, 23 Jul 2005 01:51:56 +0900
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

Hi,

Mark Lane wrote:

You can build swftools-0.6.3 by commenting out the line 54 of swftools-0.6.3/lib/h.263/h263tables.h.

<snip>
// extern struct mvd_params mvd_params[];
</snip>

I've tested with gcc-4.0.0-2 on Fedora Core 4-test3.


Yeah that works but it could cause problems with anyone trying to use the mvd_params[] array. A proper fix would be to move the extern struct line after the structure declaration for mvd_params. Any idea where that is?

Since the mvd_params[] array was removed in revision 1.3 of h263tables.c,I think it's safe to comment out the line in h263tables.h.

http://savannah.nongnu.org/cgi-bin/viewcvs/swftools/swftools/lib/h.263/h263tables.c.diff?r1=1.2&r2=1.3

Regards,

--
Daichi Shinozaki
SHIELD.JP Admin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]