Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Silence -Wswitch-enum from bison generated file (#4886)
p4parsers.ypp generates a .hpp file that contains an empty switch statement with just a default case when generating the user destructor. This switch prevents builds with -Werror=switch-enum. Silence this warning if the flag is present. Signed-off-by: Chris Dodd <cdodd@nvidia.com> Co-authored-by: Emre Orbay <eorbay@nvidia.com>
- Loading branch information