global symbol conflict in test/pgtypeslib/dt_test2.pgc - Mailing list pgsql-bugs

From Tom Lane
Subject global symbol conflict in test/pgtypeslib/dt_test2.pgc
Date
Msg-id 29024.1161639852@sss.pgh.pa.us
Whole thread Raw
Responses Re: global symbol conflict in
List 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
filedt_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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2712: could not fsync segment: Permission
Next
From: "Thomas H."
Date:
Subject: Re: BUG #2712: could not fsync segment: Permission