Compile problems on 1.5.1

Charles M. Gagnon charlesg@unixrealm.com
Tue, 19 Sep 2000 12:37:50 -0400


Dave, just to test, I just did a "make clean" and removed
config.cache and config.status on my gnucash-1.5.0 directory
and re-did "./configure; make" and it went without a hitch.

Are you sure that not something that changed between 1.5.0
and 1.5.1.

On Mon, Sep 18, 2000 at 02:18:41PM -0700, Dave Peticolas wrote:
> "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

-- 
Charles Gagnon                   | My views are my views and they
http://unixrealm.com             | do not represent those of anybody
charlesg@unixrealm.com           | but me.

   I've never had major knee surgery on any other part of my body.
        -- Winston Bennett, University of Kentucky basketball forward