chipsalliance / chipsalliance/Surelog

Selectively disable printing chosen warnings

Open
#3,108 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
475
Forks
90
Avg merge
1h 39m
Merged PRs (30d)
37

Description

There might be warnings that the user might not be intersted in. So it would be nice to reduce the noise by being able to selectively disable them.

This could probably be done by using the `-nowarning` flag and have an optional parameter. Something like

```
-nowarning=WRN:PA0123
```

Possibly also with shortened name

```
-nowarning=PA0123
```

Multiple warnings disabled just as a comma separated list:

```
-nowarning=PA0123,PA0124,PA0125
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing `-nowarning` command-line handling and the code that emits warning identifiers such as `PA0123`. Verify how a single warning is currently printed, then define completion as accepting one or more warning identifiers, including the shown comma-separated form, and suppressing only those warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.