[MPlayer-dev-eng] icc benchmark

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jun 13 00:38:42 CEST 2007


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

Carl Eugen




More information about the MPlayer-dev-eng mailing list