Re: Automatic PG_PRINTF_ATTRIBUTE
От | Andres Freund |
---|---|
Тема | Re: Automatic PG_PRINTF_ATTRIBUTE |
Дата | |
Msg-id | 20141122005310.GA20591@alap3.anarazel.de обсуждение исходный текст |
Ответ на | Automatic PG_PRINTF_ATTRIBUTE (Noah Misch <noah@leadboat.com>) |
Ответы |
Re: Automatic PG_PRINTF_ATTRIBUTE
|
Список | pgsql-hackers |
Hi, On 2014-11-21 03:12:14 -0500, Noah Misch wrote: > pg_config_manual.h has been choosing gnu_printf as the PG_PRINTF_ATTRIBUTE for > every MinGW build. That invites a torrent of warnings on pre-gcc-4.4 MinGW > compilers, including the compiler on buildfarm member narwhal. I'm > increasingly using an affected compiler, because it builds twice as quickly as > today's gcc. No objections to the patch itself, but this seems like quite the odd approach. Sure those old compilers might be a bit faster, but they also report many fewer legitimate warnings and such. A full tree doesn't take that long? A full recompile sess than 40s here and src/backend alone is much faster. ISTM that if it's currently too slow, improving the concurrency of the build a bit more is a wiser path... Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: