Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dash-SAI] Enable warnings as errors #466

Merged
merged 3 commits into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dash-pipeline/SAI/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CXXFLAGS_COMMON+= -Wcast-align
CXXFLAGS_COMMON+= -Wcast-qual
CXXFLAGS_COMMON+= -Wconversion
CXXFLAGS_COMMON+= -Wdisabled-optimization
#CXXFLAGS_COMMON+= -Werror # disabled until warnings will be fixed
CXXFLAGS_COMMON+= -Werror
CXXFLAGS_COMMON+= -Wextra
CXXFLAGS_COMMON+= -Wfloat-equal
CXXFLAGS_COMMON+= -Wformat=2
Expand Down
5 changes: 5 additions & 0 deletions dash-pipeline/SAI/src/sai_dash_router_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ sai_router_interface_api_t dash_sai_router_interface_api_impl = {

DASH_GENERIC_QUAD_API(router_interface)
DASH_GENERIC_STATS_API(router_interface)

.create_router_interfaces = 0,
.remove_router_interfaces = 0,
.set_router_interfaces_attribute = 0,
.get_router_interfaces_attribute = 0,
};