You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[-Wnon-c-typedef-for-linkage] warning for Connection struct #16
Infileincludedfrom/Users/adit/projects/expresso/lib/mochios/src/client/client.cpp:1:
Infileincludedfrom/Users/adit/projects/expresso/lib/mochios/include/mochios/client/client.h:10:
/Users/adit/projects/expresso/lib/mochios/include/mochios/client/options.h:9:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
9 | typedef struct {
| ^
| Connection
/Users/adit/projects/expresso/lib/mochios/include/mochios/client/options.h:12:26: note: type is not C-compatible due to this default member initializer
12 | unsigned int timeout = 2;
| ^
/Users/adit/projects/expresso/lib/mochios/include/mochios/client/options.h:13:3: note: type is given name 'Connection' for linkage purposes by this typedef declaration
13 | } Connection;
| ^
Activity