[FFmpeg-devel] [PATCH] Use __typeof__ instead of GCC-specific typeof keyword.
Guillaume POIRIER
poirierg
Thu Oct 2 22:03:41 CEST 2008
Hello,
On Thu, Oct 2, 2008 at 7:25 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Thu, Oct 02, 2008 at 06:58:36PM +0200, Diego 'Flameeyes' Petten? wrote:
>> The typeof keyword is disabled by default when building with -std=c99
>> as it's a GNU extension, make it known that it's an extension by using
>> the underscore-enclosed variant.
>>
>> The underscore-encosed keyword is accepted by GCC without requesting
>> extensions to the C99 standard, while the simpler typeof() keyword
>> requires GNU extensions to the C99 standard to be explicitly requested
>> (e.g.: by using the -fasm option).
>>
>> ICC supports the __typeof__ keyword as well as typeof.
>
> patch looks ok
Patch applied. Thanks.
Guillaume
--
One should not give up hope on imbeciles. With a little training, you
can make them into soldiers.
-- Pierre Desproges
More information about the ffmpeg-devel
mailing list