[MPlayer-dev-eng] Compiling with Intel C++ Compiler?
mwp at overclockers.com.au
mwp at overclockers.com.au
Sat Jun 18 16:02:53 CEST 2005
Greetings all,
Im trying to get the Intel C++ Compiler to compile the current CVS of mplayer.
All goes well until the compiler gets to "libmpdemux/stream.h" with which it has
a lot of problems (as below).
Is there a quick fix for this, or does this go into the "too hard" catagory?
Thanks!
--------------------------------------------------
libmpdemux/stream.h(213): error: expression must have arithmetic or pointer type
return s->pos+s->buf_pos-s->buf_len;
^
libmpdemux/stream.h(220): error: expression must have arithmetic or pointer type
if(pos<s->pos){
^
libmpdemux/stream.h(221): error: expression must have arithmetic or pointer type
off_t x=pos-(s->pos-s->buf_len);
^
libmpdemux/stream.h(221): error: expression must have arithmetic or pointer type
off_t x=pos-(s->pos-s->buf_len);
^
libmpdemux/stream.h(222): error: expression must have arithmetic or pointer type
if(x>=0){
^
libmpdemux/stream.h(223): error: a value of type "struct <unnamed>" cannot be
assigned to an entity of type "unsigned int"
s->buf_pos=x;
^
libmpdemux/stream.h(233): error: expression must have arithmetic or pointer type
if( (len<0 && (s->flags & STREAM_SEEK_BW)) || (len>2*STREAM_BUFFER_SIZE &&
(s->flags & STREAM_SEEK_FW)) ) {
^
libmpdemux/stream.h(233): error: expression must have arithmetic or pointer type
if( (len<0 && (s->flags & STREAM_SEEK_BW)) || (len>2*STREAM_BUFFER_SIZE &&
(s->flags & STREAM_SEEK_FW)) ) {
^
libmpdemux/stream.h(235): error: expression must have arithmetic or pointer type
return stream_seek(s,stream_tell(s)+len);
^
libmpdemux/stream.h(237): error: expression must have arithmetic or pointer type
while(len>0){
^
libmpdemux/stream.h(243): error: expression must have arithmetic type
if(x>len) x=len;
^
libmpdemux/stream.h(243): error: a value of type "struct <unnamed>" cannot be
assigned to an entity of type "int"
if(x>len) x=len;
^
libmpdemux/stream.h(245): error: expression must have arithmetic or pointer type
s->buf_pos+=x; len-=x;
^
---------------------------------------------------
More information about the MPlayer-dev-eng
mailing list