[MPlayer-dev-eng] [PATCH] Mencoder with gcc 4.0 under Mac OS X

Nicolas Plourde nicolas.plourde at sympatico.ca
Wed May 18 14:26:37 CEST 2005


On 13-May-05, at 9:04 PM, Nicolas Plourde wrote:
>
>
>
>> Hello all,
>> due to the defines inside libavcodec/common.h around line 60,  
>> mencoder.c does not compile with gcc 4.0 under Mac OS X 10.4 if -- 
>> enable-macosx-bundle is used (which is the default if --enable- 
>> macosx-finder-support is used). The easy way out for this problem  
>> is simply to move the inclusion of 'get_path.c' before the  
>> libavcodec includes.
>>
>>
>

ok i moved get_path.c, but its not a long term fix. Including  
libavcodec/common.h + math.h and using flag -ffast-math while cause  
this error.
I think libavcodec should rename always_inline to something else.

====
Nicolas Plourde <nicolas.plourde at sympatico.ca>




More information about the MPlayer-dev-eng mailing list