Re: CompilerWarnings task does not catch C++ warnings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CompilerWarnings task does not catch C++ warnings
Дата
Msg-id 3595843.1718719691@sss.pgh.pa.us
обсуждение исходный текст
Ответ на CompilerWarnings task does not catch C++ warnings  (Peter Eisentraut <peter@eisentraut.org>)
Ответы Re: CompilerWarnings task does not catch C++ warnings
Список pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes:
> The CompilerWarnings task on Cirrus CI does not catch warnings in C++ 
> code.  It tries to make warnings fatal by passing COPT='-Werror', but 
> that does not apply to C++ compilations.
> I suggest that we just add COPT to CXXFLAGS as well.  I think passing 
> -Werror is just about the only reasonable use of COPT nowadays, so 
> making that more robust seems useful.  I don't think there is a need for 
> a separate make variable for C++ here.

+1, but what about the meson side of things?

            regards, tom lane



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

Предыдущее
От: Dave Page
Дата:
Сообщение: Meson far from ready on Windows
Следующее
От: Andres Freund
Дата:
Сообщение: Re: may be a buffer overflow problem