global symbol conflict in test/pgtypeslib/dt_test2.pgc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: meskes(at)postgresql(dot)org
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: global symbol conflict in test/pgtypeslib/dt_test2.pgc
Date: 2006-10-23 21:44:12
Message-ID: 29024.1161639852@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On an HPUX machine I notice this build warning:

ld: Type mismatch for symbol "times"; resolving FUNC symbol (in file /usr/lib/pa20_64/libc.sl) to OBJECT symbol (in file dt_test2.o)

It'd probably be a good idea if dt_test2.pgc did not declare a global
symbol conflicting with a standard library function name:
http://www.opengroup.org/onlinepubs/007908799/xsh/times.html

Perhaps you could just make those arrays "static"?

regards, tom lane

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas H. 2006-10-23 21:56:19 Re: BUG #2712: could not fsync segment: Permission
Previous Message Tom Lane 2006-10-23 21:21:15 Re: BUG #2712: could not fsync segment: Permission