I added that. Thanks for the suggestion. John Darrington <j...@darrington.wattle.id.au> writes:
> Looking at the warnings that harry is gettting, is would seem that > u8-istream.c needs > (ICONV_CONST char *) somewhere too. > > J' > > > On Sat, Apr 09, 2011 at 09:26:50AM -0700, Ben Pfaff wrote: > Thanks for pointing out that missing #include. I pushed that fix > to master. > > John Darrington <j...@darrington.wattle.id.au> writes: > > > Try adding #include <limits.h> to src/libpspp/u8-istream.c > > > > J' > > > > On Fri, Apr 08, 2011 at 03:02:57PM +0200, Harry Thijssen wrote: > > Hi > > > > With the latest master I get this error: > > > > > > libtool: compile: i686-pc-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H > -I. -I > > ./src/libpspp -I./gl -I./gl > > -DINSTALLDIR=\"/usr/i686-pc-mingw32/sys-root/mingw/bin\" -I./src > -I./lib > > -I./src/language/stats -I./src/language/expressions > > -I./src/language/expressions -Isrc -mms-bitfields > > -I/usr/i686-pc-mingw32/sys-root/mingw/include/cairo > > -I/usr/i686-pc-mingw32/sys-root/mingw/include/pixman-1 > > -I/usr/i686-pc-mingw32/sys-root/mingw/include/freetype2 > > -I/usr/i686-pc-mingw32/sys-root/mingw/include > > -I/usr/i686-pc-mingw32/sys-root/mingw/include/libpng14 > > -I/usr/i686-pc-mingw32/sys-root/mingw/include/pango-1.0 > > -I/usr/i686-pc-mingw32/sys-root/mingw/include/glib-2.0 > > -I/usr/i686-pc-mingw32/sys-root/mingw/lib/glib-2.0/include -Wall > -W > > -Wwrite-strings -Wstrict-prototypes -Wpointer-arith > -Wno-sign-compare > > -Wmissing-prototypes -O2 -g -pipe -Wall -fexceptions > -fno-omit-frame-pointer > > -fno-optimize-sibling-calls --param=ssp-buffer-size=4 > -mms-bitfields > > -Wdeclaration-after-statement -MT > > src/libpspp/src_libpspp_libpspp_la-u8-istream.lo -MD -MP -MF > > src/libpspp/.deps/src_libpspp_libpspp_la-u8-istream.Tpo -c > > src/libpspp/u8-istream.c -DDLL_EXPORT -DPIC -o > > src/libpspp/.libs/src_libpspp_libpspp_la-u8-istream.o > > src/libpspp/u8-istream.c: In function 'convert_iconv': > > src/libpspp/u8-istream.c:255: warning: passing argument 2 of > 'libiconv' from > > incompatible pointer type > > /usr/i686-pc-mingw32/sys-root/mingw/include/iconv.h:83: note: > expected > > 'const char **' but argument is of type 'char **' > > src/libpspp/u8-istream.c: In function 'read_convert': > > src/libpspp/u8-istream.c:403: error: 'MB_LEN_MAX' undeclared > (first use in > > this function) > > src/libpspp/u8-istream.c:403: error: (Each undeclared identifier > is reported > > only once > > src/libpspp/u8-istream.c:403: error: for each function it appears > in.) > > make[2]: *** [src/libpspp/src_libpspp_libpspp_la-u8-istream.lo] > Fout 1 > > make[2]: Map > '/home/harry/pspp-master-20110408/pspp-0.7.7-gdd9a33' wordt > > verlaten > > > > > > Have fun > > > > _______________________________________________ > > pspp-dev mailing list > > pspp-dev@gnu.org > > http://lists.gnu.org/mailman/listinfo/pspp-dev > > -- > Ben Pfaff > http://benpfaff.org -- Ben Pfaff http://benpfaff.org _______________________________________________ pspp-dev mailing list pspp-dev@gnu.org http://lists.gnu.org/mailman/listinfo/pspp-dev