Re: Second call for platform testing - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Second call for platform testing
Date
Msg-id 20011204151558Z.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: Second call for platform testing  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Second call for platform testing
List pgsql-hackers
> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > I tried 7.2b3 on SunOS 4.1.4 with gcc 2.7.1. It gives a comile error:
> 
> I've added a configure test for sig_atomic_t, if you want to try again
> with CVS tip.

Thanks. But compiling fails again:

formatting.c: In function `NUM_processor':
formatting.c:4143: invalid operands to binary +
formatting.c:4153: invalid operands to binary +
formatting.c: In function `float4_to_char':
formatting.c:4667: warning: assignment makes integer from pointer without a cast
formatting.c: In function `float8_to_char':
formatting.c:4746: warning: assignment makes integer from pointer without a cast
gmake[4]: *** [formatting.o] Error 1
gmake[4]: Leaving directory `/mnt2/tmp/pgsql/src/backend/utils/adt'
gmake[3]: *** [adt-recursive] Error 2
gmake[3]: Leaving directory `/mnt2/tmp/pgsql/src/backend/utils'
gmake[2]: *** [utils-recursive] Error 2
gmake[2]: Leaving directory `/mnt2/tmp/pgsql/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/mnt2/tmp/pgsql/src'
gmake: *** [all] Error 2

It seems the code assumes sprintf always returns an integer (this is
not true for SunOS). I will fix it in more portable way.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: "Serguei Mokhov"
Date:
Subject: Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98
Next
From: Tom Lane
Date:
Subject: Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98