-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request
Description
I want to be able to add the following to my .bazelrc in order to silence unused parameter warnings from protobufs. However, per_file_copt does not seem to work with the leading @ to identify other repositories.
--per_file_copt=@com_google_protobuf//.*,@com_google_protobuf//.*@-Wnounused-parameter
(Of course other personally less appealing alternatives include setting -Wnounused-parameter for everything or going inside the protobuf repo and cleaning up the hundred or so warnings.)
jerrymarino, byhongda, tom-010 and lszekeres
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request