Warnings building 8.5alpha3 on Solaris 10

From: Isaac Morland <ijmorlan(at)uwaterloo(dot)ca>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Warnings building 8.5alpha3 on Solaris 10
Date: 2010-02-02 16:45:04
Message-ID: Pine.GSO.4.64.1002021138190.26731@core.cs.uwaterloo.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Chris Travers 2010-02-02 18:18:08 Re: BUG #5306: psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: BC
Previous Message Tom Lane 2010-02-02 15:38:37 Re: BUG #5306: psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: BC