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

Steve Lhomme slhomme
Wed Mar 1 19:01:34 CET 2006


M?ns Rullg?rd wrote:
> 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.

Yes it is.

>> 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.

Too bad, that keyword existed before Linux was even started.





More information about the ffmpeg-devel mailing list