Re: MinGW versus _strtoui64() ?

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: MinGW versus _strtoui64() ?
Дата
Msg-id 56E4DAE3.7070304@2ndquadrant.com
обсуждение исходный текст
Ответ на MinGW versus _strtoui64() ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: MinGW versus _strtoui64() ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 13/03/16 03:30, Tom Lane wrote:
> 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
>

Looks like it has to be limited to MSVC not WIN32, mingw does not have it.


--   Petr Jelinek                  http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training &
Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WIP: Upper planner pathification
Следующее
От: Tom Lane
Дата:
Сообщение: Re: MinGW versus _strtoui64() ?