[FFmpeg-devel] [PATCH] Use __typeof__ instead of GCC-specific typeof keyword.
Michael Niedermayer
michaelni
Thu Oct 2 19:25:45 CEST 2008
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
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081002/90ff8130/attachment.pgp>
More information about the ffmpeg-devel
mailing list