Re: compiler warnings on the buildfarm

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: compiler warnings on the buildfarm
Дата
Msg-id 877ip0fr1y.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: compiler warnings on the buildfarm  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: compiler warnings on the buildfarm
Список pgsql-hackers
Do any of the build farm machines not support 64-bit integers? I just added a
--enable-bigint flag to configure.in and tested building without it and got an
error at xlog.c:

xlog.c: In function 'ValidXLOGHeader':
xlog.c:3240: error: 'UINT64_FORMAT' undeclared (first use in this function)
xlog.c:3240: error: (Each undeclared identifier is reported only once
xlog.c:3240: error: for each function it appears in.)
       snprintf(fhdrident_str, sizeof(fhdrident_str), UINT64_FORMAT,                        longhdr->xlp_sysid);
snprintf(sysident_str,sizeof(sysident_str), UINT64_FORMAT,                        ControlFile->system_identifier);
 

It's possible I've done the autoconf hackery wrong though. Should
UINT64_FORMAT still be defined if there's no int64?

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com



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

Предыдущее
От: Martin Pihlak
Дата:
Сообщение: Re: stored procedure stats in collector
Следующее
От: Tom Lane
Дата:
Сообщение: Re: compiler warnings on the buildfarm