[FFmpeg-devel] Compiling with Sun cc

Carl Eugen Hoyos cehoyos
Thu Oct 2 12:49:47 CEST 2008


Hi!

Diego Biurrun <diego <at> biurrun.de> writes:

> > Finally, the following inlined patch for mem.h was necessary:
> > (The only thing that should be necessary)
> > --- libavutil/mem.h     (Revision 15506)
> > +++ libavutil/mem.h     (Arbeitskopie)
> > @@ -26,7 +26,7 @@
> > 
> > -#ifdef __ICC
> > +#if defined(__ICC) || defined(__SUNPRO_C)
> >      #define DECLARE_ALIGNED(n,t,v)      t v __attribute__ ((aligned (n)))
> >      #define DECLARE_ASM_CONST(n,t,v)...
> >  #elif defined(__GNUC__)
> 
> Should be OK.

Applied the patch - sun cc does not understand attribute_used.

Carl Eugen





More information about the ffmpeg-devel mailing list