Re: gcc 13 warnings
От | Andres Freund |
---|---|
Тема | Re: gcc 13 warnings |
Дата | |
Msg-id | 20230317235427.4ji7uqsjkzhdfsns@awork3.anarazel.de обсуждение исходный текст |
Ответ на | Re: gcc 13 warnings (Peter Eisentraut <peter.eisentraut@enterprisedb.com>) |
Ответы |
Re: gcc 13 warnings
|
Список | pgsql-hackers |
Hi, On 2023-03-17 09:06:05 +0100, Peter Eisentraut wrote: > AFAICT, the default for meson is buildtype=debug, which is -O0. The -O3 > comes from meson.build setting buildtype=release. Right - my point about -O3 was just that buildtype=release defaults to it. > 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. Greetings, Andres Freund
В списке pgsql-hackers по дате отправления: