On Fri, May 14, 2021 at 11:16 AM David Rowley <dgrowle...@gmail.com> wrote: > > On Fri, 14 May 2021 at 12:00, Peter Smith <smithpb2...@gmail.com> wrote: > > That bug led me to wonder if similar problems might be going > > undetected elsewhere in the code. There is a gcc compiler option [3] > > -Wshadow which informs about the similar scenario where one variable > > is "shadowing" another (e.g. redeclaring a variable with the same name > > as one at an outer scope). > > > For now, I am not sure how to proceed with this information. Hence this > > post... > > I'm inclined to think that since a bug has already been found due to a > local variable shadowing a global one that it would be good to review > these and then consider if it's worth doing any renaming. I think the > process of looking at each warning individually will allow us to > determine if; a) there are any bugs, or; b) if it's worth doing any > renaming. >
Hi David, Michael - Thanks for your replies. Yeah, I would like to work my way through all of these warnings in my spare time and report back to this thread (after 1-2 months?) with a detailed analysis. After that it should become much clearer what / if any action should be taken next. ---------- Kind Regards, Peter Smith. Fujitsu Australia