Re: Dillo and Irix

eocene <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Jan wrote:
> I had a brief look at the dlib code. I don't think it's a problem
> with the va stuff. I have one warning when compiling dlib.c:
> 
> /usr/nekoware/gcc-4.7/bin/gcc -DHAVE_CONFIG_H -I. -I..  -I..
> -I/usr/local/include -I/usr/nekoware/include
> -I/usr/nekoware/gcc-4.7/include/c++/4.7.1 -I/usr/local/include
> -mtune=r5000 -mips4 -mabi=n32 -DD_DNS_THREADED -D_REENTRANT
> -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -MT
> dlib.o -MD -MP -MF .deps/dlib.Tpo -c -o dlib.o dlib.c
> dlib.c: In function 'dStr_printable':
> dlib.c:514:7: warning: array subscript has type 'char' [-Wchar-subscripts]
> mv -f .deps/dlib.Tpo .deps/dlib.Po
> rm -f libDlib.a
> ar cru libDlib.a dlib.o
> : libDlib.a
> 
> This is the line:
> 
> if (isprint(in->str[i]) || (in->str[i] == '\n')) {
> 
> isprintf is defined in Irix
> 
> extern int isprint(int);

The subscript 'i'?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.