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

Guillaume POIRIER poirierg at gmail.com
Wed Jan 30 00:31:35 CET 2008


Hello,

On Jan 29, 2008 11:57 PM, Reimar Döffinger
<Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> Hello,
> On Tue, Jan 29, 2008 at 11:32:49PM +0100, Guillaume POIRIER wrote:
> > On Jan 29, 2008 11:24 PM, Reimar Döffinger
> > <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> > >
> > > On Tue, Jan 29, 2008 at 10:53:26PM +0100, Guillaume POIRIER wrote:
> >
> > > > I wasn't compiling with -ipo. I didn't compile with make -jx. :-(This
> > > > problem is still a mystery for me.
> > >
> > > To me it looks like you did not (correctly) apply the patch...
> >
> > Well it doesn't apply cleanly anymore. May I request an updated
> > version to be posted?
>
> I do not yet have one, though it should just be a matter of dropping the
> libavc and libswscale parts and instead modify the define in
> libavutil/mem.h

Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h       (original)
+++ trunk/libavutil/mem.h       Sun Jan 27 21:50:16 2008
@@ -28,8 +28,10 @@

 #ifdef __GNUC__
  #define DECLARE_ALIGNED(n,t,v)       t v __attribute__ ((aligned (n)))
+  #define DECLARE_ASM_CONST(n,t,v)     static const t v
attribute_used __attribute__ ((aligned (n)))
 #else
  #define DECLARE_ALIGNED(n,t,v)      __declspec(align(n)) t v
+  #define DECLARE_ASM_CONST(n,t,v)    __declspec(align(n)) static const t v
 #endif

 /**


-- 
A soldier will fight long and hard for a bit of colored ribbon.
 -- Napoleon Bonaparte



More information about the MPlayer-users mailing list