[MPlayer-dev-eng] [PATCH] compiling with Intel C

Rich Felker dalias at aerifal.cx
Thu Jan 25 21:38:30 CET 2007


On Thu, Jan 25, 2007 at 11:43:42AM +0100, Reimar Döffinger wrote:
> Hello,
> On Thu, Jan 25, 2007 at 12:39:19AM +0100, Guillaume POIRIER wrote:
> > > static uint64_t attribute_used __attribute__((aligned(8))) 
> > > MM_FIX_0_382683433=FIX64(0.382683433, 14); static uint64_t attribute_used 
> > > __attribute__((aligned(8))) MM_FIX_0_541196100=FIX64(0.541196100, 14); 
> > >diff -ur MPlayer-1.0svn22004/loader/dmo/DMO_AudioDecoder.c 
> > >MPlayer-1.0svn22004-devel/loader/dmo/DMO_AudioDecoder.c
> > >--- MPlayer-1.0svn22004/loader/dmo/DMO_AudioDecoder.c	2007-01-24 
> > >18:08:55.000000000 +0300
> > >+++ MPlayer-1.0svn22004-devel/loader/dmo/DMO_AudioDecoder.c	2007-01-24 
> > >17:18:31.000000000 +0300
> > >@@ -35,8 +35,6 @@
> > > 
> > > #include "../../mp_msg.h"
> > > 
> > >-#define __MODULE__ "DirectShow audio decoder"
> > >-
> > 
> > Why ?
> 
> __MODULE__ is reserved and may not be redefined in ICC. I have some
> doubts whether a C preprocessor is allowed to behave like this, but
> since I have not been able to find the point of this line (and no
> comment on my suggestion to remove them) I am in favor of getting rid of
> it...

Being as the name is reserved to the implementation, the
implementation is free to do whatever it wants when you try to
redefine it, including reasonable things like generating an error or
less-reasonable things like making monkeys fly out of your nose. :)

Rich



More information about the MPlayer-dev-eng mailing list