Home
Debugging Tips
warning: 'struct sockaddr' declared inside parameter list


warning: 'struct sockaddr' declared inside parameter list |
![]() |
Saturday, 30 April 2011 | |
If you get this error: warning: 'struct sockaddr' declared inside parameter list warning: its scope is only this definition or declaration, which is probably not what you want Then you probably forgot to include in your C code the following C header file: #include <sys/socket.h> |
|
Last Updated ( Saturday, 30 April 2011 ) |
< Prev | Next > |
---|