Re: gcc 13 warnings
От | Peter Eisentraut |
---|---|
Тема | Re: gcc 13 warnings |
Дата | |
Msg-id | ea8b5e6d-442e-cb7e-75a5-12acc789801c@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: gcc 13 warnings (Peter Eisentraut <peter.eisentraut@enterprisedb.com>) |
Ответы |
Re: gcc 13 warnings
|
Список | pgsql-hackers |
On 22.03.23 10:45, Peter Eisentraut wrote: > 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 tome, at least for development builds. I have committed the change of buildtype to debugoptimized.
В списке pgsql-hackers по дате отправления: