[FFmpeg-devel] C99 or GCC extensions
Måns Rullgård
mans
Fri Jul 11 19:39:43 CEST 2008
Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:
> Hello,
> On Fri, Jul 11, 2008 at 06:40:43PM +0200, Axel Holzinger wrote:
>> The FASTDIV macro uses statements in an expression. The only way
>> to come around this I can see with C99 is to move the code in an
>> inlined function.
>
> Well, it uses asm, too, so it still will not be C99 either afterwards.
> So IMO you would have to provide a point why it is not completely
> pointless (note that I personally noticed this too some time ago, but
> due to the asm I considered it not worth "fixing").
An inline function will provide some type-checking, for what that's
worth. Besides, that gcc syntax is ugly.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list