Reini Urban wrote:
>>
>> ...
>> >Info: resolving _optarg by linking to __imp__optarg (auto-import)
>> >Info: resolving _optind by linking to __imp__optind (auto-import)
>
>
> ok, i'm sure now.
> there's no way to ignore those diagnostics on the ld side.
It's a minor annoyance at worst. Not worth spending effort on. The
issue in these lines is the important one:
ccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -g pg_dump.o common.o
pg_dump_sort.opg_backup_archiver.o pg_backup_db.o pg_backup_custom.o pg_backup_files.o pg_backup_null.o pg_backup_tar.o
dumputils.o ../../../src/backend/parser/keywords.o -L../../../src/interfaces/libpq -lpq -L../../../src/port
-L/usr/local/lib -lpgport -lz -lreadline -lcrypt -o pg_dump.exe
../../../src/port/libpgport.a(pgstrcasecmp.o)(.text+0x1b0): In function `pg_tolower':
/home/adunstan/pgbf/root/HEAD/pgsql.4040/src/port/pgstrcasecmp.c:119: multiple definition of `_pg_tolower'
../../../src/interfaces/libpq/libpq.a(dqgds00145.o)(.text+0x0): first defined here
cheers
andrew