[MPlayer-dev-eng] libmpdemux/stream.h missing stdint.h?

pl p_l at tfz.net
Sun Jan 6 22:09:40 CET 2002


On Sun, Jan 06, 2002 at 10:39:26AM -0800, Steven M. Schultz wrote:

> > > 	The problem appears to be a missing "#include <stdint.h>" to get
> > > 	the uint64_t data type.
> 
> > Thanks. It should be fixed.
> 
> 	Hmmm, I just did a 'cvs update' and it would seem the change didn't
> 	"stick":
> 
> gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibmpdemux -Iloader -Ilibvo   -o dec_audio.o dec_audio.c
> In file included from dec_audio.c:15:
> libmpdemux/stream.h:99: syntax error before `stream_read_qword'
> libmpdemux/stream.h: In function `stream_read_qword':
> libmpdemux/stream.h:100: syntax error before `y'
> libmpdemux/stream.h:101: `y' undeclared (first use in this function)
> libmpdemux/stream.h:101: (Each undeclared identifier is reported only once
> libmpdemux/stream.h:101: for each function it appears in.)
> dec_audio.c: In function `decode_audio':
> dec_audio.c:1193: warning: passing arg 2 of pointer to function from incompatible pointer type

What OS / libc ?

Do you have a system inttypes.h or use etc/inttypes.h ?
If not configure should have died...

On my 2.2.4 glibc, stdint.h gets included by inttypes.h.

-- 
Best regards,
  pl



More information about the MPlayer-dev-eng mailing list