cvs version compile error - Mailing list pgsql-hackers

From Weiping He
Subject cvs version compile error
Date
Msg-id 3F0525B0.6070604@zhengmai.com.cn
Whole thread Raw
Responses Re: cvs version compile error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,
   I'm trying to compile pgsql-7.4devl on Solaris8, but got the error 
below:

----------------------------------------8<---------------------------------------------------------------------
numeric.c: In function `PGTYPESnumeric_cmp':
numeric.c:1308: `INT_MAX' undeclared (first use in this function)
numeric.c:1308: (Each undeclared identifier is reported only once
numeric.c:1308: for each function it appears in.)
numeric.c:1310: warning: control reaches end of non-void function
numeric.c: In function `PGTYPESnumeric_to_int':
numeric.c:1452: `INT_MAX' undeclared (first use in this function)
numeric.c: In function `PGTYPESnumeric_to_long':
numeric.c:1474: `LONG_MAX' undeclared (first use in this function)
make[4]: *** [numeric.o] Error 1
make[4]: Leaving directory 
`/export/home/postdb/pgsql-7.4/pgsql/src/interfaces/ecpg/pgtypeslib'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/export/home/postdb/pgsql-7.4/pgsql/src/interfaces/ecpg'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/export/home/postdb/pgsql-7.4/pgsql/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/home/postdb/pgsql-7.4/pgsql/src'
make: *** [all] Error 2
$ gcc --version
2.95.3

--------------------------------------8<-------------------------------------------------------------------------------------

the source file are just updated from CVS. ISTM a little bug on Solaris8 
platform.

Thanks and Regards

Laser



pgsql-hackers by date:

Previous
From: "Nigel J. Andrews"
Date:
Subject: Re: Error messages --- now that we've got it, do you like
Next
From: "Dave Page"
Date:
Subject: Re: Mirro updates