Re: MSVC: Improve warning options set

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: MSVC: Improve warning options set
Дата
Msg-id y6k4ezo6t2zlz2z2i2ymu6zske5uehr76pfp67ckzq5cx3zb55@luywbxwevr4p
обсуждение исходный текст
Ответ на MSVC: Improve warning options set  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
Hi,

On 2025-10-29 08:51:00 +0100, Peter Eisentraut wrote:
> meson.build has a list of warnings to disable on MSVC:
> 
>   cflags_warn += [
>     '/wd4018', # signed/unsigned mismatch
>     '/wd4244', # conversion from 'type1' to 'type2', possible loss of data
>     '/wd4273', # inconsistent DLL linkage
>     '/wd4101', # unreferenced local variable
>     '/wd4102', # unreferenced label
>     '/wd4090', # different 'modifier' qualifiers
>     '/wd4267', # conversion from 'size_t' to 'type', possible loss of data
>   ]
> 
> First, these appear to be in some random order, so I wanted to sort them.

FWIW, I just transported them 1:1 from src/tools/msvc, at the time it seemed
more important to keep things consistent than to clean up.

Greetings,

Andres Freund



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