Trepan-Debuggers / Trepan-Debuggers/remake
Pragma-like comment to suppress --warn-undefined-variables
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 850
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
--warn-undefined-variables is really useful, but some modules are relying on undefined variables being empty, and they generate the checks in thousands. Not always they can be rewritten.
In this cases, it would be beneficial to have a pragma-like comment to suppress the warning for some of lines.
grep-ing them out would only help if the code testing the variable is not in $(eval).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not identify a file, test, or entry point. First determine how --warn-undefined-variables is implemented and how comments are parsed, then define the pragma syntax, its scope, and tests that demonstrate suppressed and unsuppressed warnings.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100