CompilerWarnings task does not catch C++ warnings - Mailing list pgsql-hackers

From Peter Eisentraut
Subject CompilerWarnings task does not catch C++ warnings
Date
Msg-id fe3e200c-edee-44e0-a6e3-d45dca72873b@eisentraut.org
Whole thread Raw
Responses Re: CompilerWarnings task does not catch C++ warnings
Re: CompilerWarnings task does not catch C++ warnings
List pgsql-hackers
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.
Attachment

pgsql-hackers by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: speed up a logical replica setup
Next
From: Sven Klemm
Date:
Subject: Re: [PATCH] Improve error message when trying to lock virtual tuple.