[MPlayer-dev-eng] icc benchmark

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jun 11 11:20:48 CEST 2007


Uoti Urpala <uoti.urpala <at> pp1.inet.fi> writes:

> 
> On Mon, 2007-06-11 at 00:15 +0200, Carl Eugen Hoyos wrote:
> > I will try to produce a patch, it would include something like the
> > following, would that be acceptable?
> 
> > -# define attribute_used __attribute__((used))
> > +# define attribute_used __attribute__((used)) static
> 
> This doesn't seem to make much sense alone; do you mean to use this
> combined with removing the "static" from all the variables?

yes.

> I don't like
> the effects this idea has either for gcc (having the name
> "attribute_used" unintuitively imply "static")

What about attribute_used_static?

> or for icc (making all the variables global).

I'd be more than happy to hear of a simpler alternative.

Carl Eugen






More information about the MPlayer-dev-eng mailing list