[MPlayer-dev-eng] libmpdemux/stream.h missing stdint.h?
Steven M. Schultz
sms at 2BSD.COM
Sun Jan 6 23:44:11 CET 2002
Hi -
> From: pl <p_l at tfz.net>
> > 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'
...
> What OS / libc ?
BSD/OS, and libc.
> Do you have a system inttypes.h or use etc/inttypes.h ?
I have inttypes.h and stdint.h in /usr/local/include (they're not
native to the system)
> If not configure should have died...
Yes indeed and that is what has me puzzled.
> On my 2.2.4 glibc, stdint.h gets included by inttypes.h.
Same here.
What it looks like is that <inttypes.h> is not being included.
At the very beginning of libmpdemux/stream.h I inserted:
#include <inttypes.h>
and the compile error goes away. This would indicate that <inttypes.h>
is not being included somewhere in the libmpdemux files.
Steven Schultz
sms at 2bsd.com
More information about the MPlayer-dev-eng
mailing list