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

Michael Niedermayer michaelni at gmx.at
Thu Jan 25 11:42:51 CET 2007


Hi

On Thu, Jan 25, 2007 at 09:56:54AM +0100, Guillaume Poirier wrote:
> Hi,
> 
> Dmitry Antipov wrote:
> > Hello all,
> > 
> > an attached patch proposes the bits needed for the first successful :-)
> > compilation
> > of svn-22004 with Intel C 9.1.046. It compiles and plays a few movies
> > found on my hard
> > drive, but it's highly experimental. Libavcodec bits are also included.
> 
> Looks like it's not meant to work on x86-64 with (ICC) 9.0 20060222
> (sorry, I don't have access to a newer version yet).
> 
> icc -I.. -Inative -I../libmpdemux -I../stream -I../loader
> -I../libavutil -I../libavcodec -I. -I.. -Wdeclaration-after-statement
> -O2 -march=pentium4 -mcpu=pentium4 -pipe -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -I/usr/X11R6/include  -I/usr/include/SDL -D_REENTRANT
> -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include  -I/usr/include -I/usr/include/dvdnav
> -I/usr/include/freetype2   -c -o vf_ilpack.o vf_ilpack.c
> icc: Command line warning: ignoring option '-W'; no argument required
> ../libvo/fastmemcpy.h(31): warning #1338: arithmetic on pointer to
> void or function type
>                         src += (height-1)*srcStride;
>                             ^

arithmetic with (void*) i assume src is void* (didnt check ...) is not
allowed in C,  intels compiler is correct

feel free to change all the void* to uint8_t*

dunno about the actual errors ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- 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/20070125/40bea471/attachment.pgp>


More information about the MPlayer-dev-eng mailing list