MinGW versus _strtoui64() ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: MinGW versus _strtoui64() ?
Date: 2016-03-13 02:30:16
Message-ID: 27366.1457836216@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Per a comment from Petr Jelinek, I added this in commit 23a27b039d94ba35:

#ifdef WIN32
return _strtoui64(str, endptr, base);
#else ...

Several of the Windows buildfarm members are good with that, but
narwhal is not:

numutils.c: In function `pg_strtouint64':
numutils.c:406: warning: implicit declaration of function `_strtoui64'
...
Creating library file: libpostgres.a
utils/adt/numutils.o(.text+0x67b): In function `pg_strtouint64':
C:/msys/1.0/local/pgbuildfarm/buildroot/HEAD/pgsql.build/src/backend/utils/adt/numutils.c:406: undefined reference to `_strtoui64'
collect2: ld returned 1 exit status

Any thoughts how to fix that?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-03-13 02:41:34 Re: WIP: Upper planner pathification
Previous Message Joel Jacobson 2016-03-13 02:27:20 Re: [COMMITTERS] pgsql: Provide much better wait information in pg_stat_activity.