RE: [Proposal] Level4 Warnings show many shadow vars - Mailing list pgsql-hackers

From Ranier Vilela
Subject RE: [Proposal] Level4 Warnings show many shadow vars
Date
Msg-id MN2PR18MB2927CC1C63BAD04A7794941FE35C0@MN2PR18MB2927.namprd18.prod.outlook.com
Whole thread Raw
In response to Re: [Proposal] Level4 Warnings show many shadow vars  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [Proposal] Level4 Warnings show many shadow vars  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert wrote:
>Most of us don't develop on Windows, so changing warning levels on
>Windows won't really affect what developers see on their own machines,
>and thus probably doesn't have much value.
Yes the report is from msvc 2017.
Even so, there is some failure to review or compile in Unix environment, because there are so many cases.
-Wshadow with GCC can show the alerts.

>It might be a good idea to>try to clean up some/many cases of shadowed >variables, though.
Interested in submitting the msvc 2017 report?

Ranier Vilela


pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Re: backup manifests
Next
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: Explain: Duplicate key "Workers" in JSON format