Advertisement
Guest User

Untitled

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