bugGNU roff - Bugs: bug #64700, [pic] clang-16 issues a warning...


bug #64700: [pic] clang-16 issues a warning about shadowing a variable

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Wed 20 Sep 2023 11:45:54 PM UTC
Category:  Preprocessor pic Severity:  3 - Normal
Item Group:  Lint Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Fri 22 Sep 2023 03:01:12 PM UTC, comment #1: 

Demoting to "lint" until a behavioral problem is shown.

G. Branden Robinson <gbranden>
Group administrator
Wed 20 Sep 2023 11:45:54 PM UTC, original submission:  

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;

Bjarni Ingi Gislason <bjarniig>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-09-22 gbranden Item GroupWarning/Suspicious behaviour Lint

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code