Compile problems on 1.5.1

Dave Peticolas dave@krondo.com
Mon, 18 Sep 2000 14:18:41 -0700


"Charles M. Gagnon" writes:
> I get errors compiling 1.5.1 on the same environment I
> successfully compiled all the other releases. It's a 32 bit
> Solaris 8 box properly patched and gtkhtml-0.4, g-wrap-0.9.4
> and guile-1.3.4.
> 
> ### OUTPUT of make ###
> [...]
> rm -f .libs/util.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -g -O2 -Wall
> -Wunused -Wall -Werror-implicit-function-declaration
> -I/usr/local/lib/glib/include -I/usr/local/include -c util.c
> -fPIC -DPIC -o .libs/util.lo
> util.c: In function `gnc_strisnum':
> util.c:376: warning: subscript has type `char'
> util.c:380: warning: subscript has type `char'
> util.c:382: warning: subscript has type `char'
> util.c:387: warning: subscript has type `char'
> util.c: In function `PrintAmt':
> util.c:524: implicit declaration of function `finite'
> util.c: In function `xaccParseAmount':

Strange, these warnings and errors all occur on uses of system
functions which didn't change in 1.5.1. The warnings are for the
character tests from ctype.h 'isspace', 'isdigit', etc., and the
math.h function 'finite'. Maybe the include paths changed with
the new configure.in and you are getting a different set of
system headers? Do you have more than one math.h and ctype.h
installed?

dave