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
|
Список | 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 по дате отправления: