[MPlayer-dev-eng] icc benchmark

Michael Niedermayer michaelni at gmx.at
Wed Jun 13 09:16:51 CEST 2007


Hi

On Tue, Jun 12, 2007 at 10:38:42PM +0000, Carl Eugen Hoyos wrote:
> Hi Michael!
> 
> Michael Niedermayer <michaelni <at> gmx.at> writes:
> 
> > > Except for namespace polution: Is there another disadvantage with global
> > > variables?
> > 
> > it doesnt break gcc 2.95 ...
> 
> Does that mean you might accept a patch containing a definition like the
> following for ffmpeg?
> 
> /* attribute(used) as needed by some compilers */
> #if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300) && !defined (__ICC)
> # define av_static_used static __attribute__((used))
> #else
> # define av_static_used
> #endif

the non ICC case needs to be static

and yes i would accept it tough iam not truly happy about the solution

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070613/beadd1d0/attachment.pgp>


More information about the MPlayer-dev-eng mailing list