Warnings building 8.5alpha3 on Solaris 10 - Mailing list pgsql-bugs

From Isaac Morland
Subject Warnings building 8.5alpha3 on Solaris 10
Date
Msg-id Pine.GSO.4.64.1002021138190.26731@core.cs.uwaterloo.ca
Whole thread Raw
Responses Re: Warnings building 8.5alpha3 on Solaris 10  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I get the following warnings building 8.5alpha3 on Solaris 10.
I do not get these warnings building 8.4 exactly the same way.

standby.c:239: warning: int format, pid_t arg (arg 3)
standby.c:247: warning: int format, pid_t arg (arg 5)
descriptor.c:23: warning: missing braces around initializer
descriptor.c:23: warning: (near initialization for `descriptor_once.__pthread_once_pad')
memory.c:73: warning: missing braces around initializer
memory.c:73: warning: (near initialization for `auto_mem_once.__pthread_once_pad')
connect.c:16: warning: missing braces around initializer
connect.c:16: warning: (near initialization for `actual_connection_key_once.__pthread_once_pad')
misc.c:61: warning: missing braces around initializer
misc.c:61: warning: (near initialization for `sqlca_key_once.__pthread_once_pad')

(I'm leaving out the known "unused variable `yyg'" issue in scan.c)

Also, I get the following on both 8.4 and 8.5 (same builds as above):

auth.c:82: warning: initialization from incompatible pointer type
(except in 8.4 it's at line 80)

I get none of these warnings (except the "yyg" one) building 8.5alpha3 on
my Mac (OS X 10.5.8).

The closest thing I can find to a mention of this issue is:

http://archives.postgresql.org/pgsql-hackers/2010-01/msg01935.php

Isaac Morland            CSCF Web Guru
DC 2554C, x36650        WWW Software Specialist

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: REFERENCES misbehaves with inheritance
Next
From: Jasen Betts
Date:
Subject: whole-row functional index?