Re: gcc 13 warnings

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: gcc 13 warnings
Дата
Msg-id f97122fc-32b8-db85-d9cd-0a5e708edef4@enterprisedb.com
обсуждение исходный текст
Ответ на Re: gcc 13 warnings  (Andres Freund <andres@anarazel.de>)
Ответы Re: gcc 13 warnings  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
On 18.03.23 00:54, Andres Freund wrote:
>> I think a good compromise would be buildtype=debugoptimized, which is -O2
>> with debug symbols, which also sort of matches the default in the autoconf
>> world.
> 
> Looks like that'd result in a slightly worse build with msvc, as afaict we
> wouldn't end up with /OPT:REF doesn't get specified, which automatically gets
> disabled if /DEBUG is specified. I guess we can live with that.

I looked up what /OPT:REF does 
(https://learn.microsoft.com/en-us/cpp/build/reference/opt-optimizations?view=msvc-170), 
and it seems pretty obscure to me, at least for development builds.



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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Bytea PL/Perl transform
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Allow logical replication to copy tables in binary format