[Ffmpeg-devel] [PATCH] near is a special keyword

Måns Rullgård mru
Wed Mar 1 09:26:19 CET 2006


Steve Lhomme <steve.lhomme at free.fr> writes:

> Michael Niedermayer wrote:
>> Hi
>> On Tue, Feb 28, 2006 at 03:42:26PM -1000, Steve Lhomme wrote:
>>> ...on some windows compilers (far vs near pointers). So I renamed
>>> items called "near".
>> #define near smallandstinkingsoft_not_knowing_c_standard
>
> This is exactly like renaming onenear to
> smallandstinkingsoft_not_knowing_c_standard. Which I already do.

No it's not.

> I just thought you might want the fix.

The fix should go where the bug is, i.e. in the compiler.  If they
needed a new keyword they should have used __near.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list