URL: <https://savannah.gnu.org/bugs/?64700>
Summary: [pic] clang-16 issues a warning about shadowing a variable Group: GNU roff Submitter: bjarniig Submitted: Wed 20 Sep 2023 11:45:54 PM UTC Category: Preprocessor pic Severity: 3 - Normal Item Group: Warning/Suspicious behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Wed 20 Sep 2023 11:45:54 PM UTC By: Bjarni Ingi Gislason <bjarniig> Subject: [pic] clang-16 issues a warning about shadowing a variable. Debian clang version 16.0.6 (15) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin [...] CXX src/preproc/pic/pic-object.o ../src/preproc/pic/object.cpp:729:9: warning: non-static data member 'color_fill' of 'closed_object' shadows member inherited f$ char *color_fill; // = 0 if not colored ^ ../src/preproc/pic/object.cpp:560:9: note: declared here char *color_fill; ^ [...] _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64700> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/