Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- net.lo ---
- net.c:1071:5: error: use of undeclared identifier 'EAI_ADDRFAMILY'
- { EAI_ADDRFAMILY, NET_HOSTERROR_TYPE_NOT_FOUND },
- ^
- net.c:1077:5: error: use of undeclared identifier 'EAI_NODATA'
- { EAI_NODATA, NET_HOSTERROR_TYPE_NOT_FOUND },
- ^
- net.c:1083:31: error: invalid application of 'sizeof' to an incomplete type 'const struct (anonymous struct at net.c:1067:8) []'
- for (unsigned int i = 0; i < N_ELEMENTS(error_map); i++) {
- ^~~~~~~~~~~~~~~~~~~~~
- ./macros.h:19:9: note: expanded from macro 'N_ELEMENTS'
- (sizeof(arr) / sizeof((arr)[0]))
- ^~~~~
- 3 errors generated.
- *** [net.lo] Error code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement