Skip to content

make test failed. Is sai_switch_notification_t deprecaited or missing?  #111

Description

@ncalad

When running make test, I encounter a build error because sai_switch_notification_t seems to be missing.

./basic_router.cpp:76:1: error: ‘sai_switch_notification_t’ does not name a type; did you mean ‘sai_switch_stat_t’?
76 | sai_switch_notification_t plat_switch_notification_handlers =
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| sai_switch_stat_t
./basic_router.cpp: In function ‘const char* test_profile_get_value(sai_switch_profile_id_t, const char*)’:
./basic_router.cpp:93:28: warning: statement has no effect [-Wunused-value]
57 | #define UNREFERENCED_PARAMETER(P) (P)
| ~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions