[FFmpeg-devel] Darwin gnu99
Michael Witten
mfwitten
Sun Oct 19 22:52:33 CEST 2008
On 19 Oct 2008, at 5:27 AM, M?ns Rullg?rd wrote:
> Michael Witten <mfwitten at MIT.EDU> writes:
>
>> Hello,
>>
>> I had to make the following change to the configure script
>> in order to build on Mac OS X 10.5:
>>
>> --- configure (revision 15641)
>> +++ configure (working copy)
>> @@ -1149,7 +1149,7 @@
>> TMPS="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.S"
>> TMPSH="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.sh"
>>
>> -check_cflags -std=c99
>> +check_cflags -std=gnu99
>
> Rejected. Please explain what breaks without any patches.
That language is a bit overly strong.
It's quite clear from my message that I never intended that
diff output to be considered a patch:
> I had to make the following change to the configure script
> in order to build on Mac OS X 10.5:
In any case, it would seem conrad was clever enough to pick
up on the problem:
> $ svn log libswscale/yuv2rgb_altivec.c
> ------------------------------------------------------------------------
> r27805 | conrad | 2008-10-19 13:56:35 -0500 (Sun, 19 Oct 2008) | 1
> line
>
> Convert typeof keyword into __typeof__; this is a gcc extension and
> the former is not accepted in C99 without GNU extensions enabled
> (e.g. via -fasm). This fixes compilation on PPC.
However, I wonder if I influenced this change, though I was
admittedly quiet on the subject; it would be nice to include
references to people that may have helped find the problem,
because it makes people want to find and report more problems.
Sincerely,
Michael Witten
More information about the ffmpeg-devel
mailing list