[MPlayer-users] [BUG] Compile with ICC 10.1

Dmitry Leonenko dmitry.leonenko at gmail.com
Sun Jan 27 14:07:35 CET 2008


Carl Eugen Hoyos wrote:
> Hi!
>
> Dmitry Leonenko <dmitry.leonenko <at> gmail.com> writes:
>
>   
>> Hi. I'm trying to compile mplayer (mencoder actually) from Gentoo 
>> portage (mplayer-1.0_rc2_p24929) with Intel C/C++ compiler version 10.1.008.
>>     
>
> You need a 10.1.011 at least, but you have to make a few changes to libavcodec:
> icc doesn't understand attribute_used, so you have to remove "static" from the
> declaration of those variables. Since that leads to name space conflicts, you
> will finally have to rename some of those variables.
>
> Carl Eugen
>
> PS: Note that this is not considered a bug, icc compilation probably won't be
> supported as long as they don't support attribute_used.
>   
OK. Seems like it's really not a bug but looks like it's not compatible 
with c99 standard. Isn't it?
Can anybody make a patch for that? (Or even say more specifically which 
variables and I'll try to make things to go smoothly, because I'm not 
kind of C guru :) ).

Again, Thank you.



More information about the MPlayer-users mailing list