yochananmarqos

Untitled

Jun 1st, 2020
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.65 KB | None | 0 0
  1. # net
  2. gcc did not produce error at completed:1
  3. on input:
  4.  
  5. #line 1 "cgo-builtin-prolog"
  6. #include <stddef.h> /* for ptrdiff_t and size_t below */
  7.  
  8. /* Define intgo when compiling with GCC. */
  9. typedef ptrdiff_t intgo;
  10.  
  11. #define GO_CGO_GOSTRING_TYPEDEF
  12. typedef struct { const char *p; intgo n; } _GoString_;
  13. typedef struct { char *p; intgo n; intgo c; } _GoBytes_;
  14. _GoString_ GoString(char *p);
  15. _GoString_ GoStringN(char *p, int l);
  16. _GoBytes_ GoBytes(void *p, int n);
  17. char *CString(_GoString_);
  18. void *CBytes(_GoBytes_);
  19. void *_CMalloc(size_t);
  20.  
  21. __attribute__ ((unused))
  22. static size_t _GoStringLen(_GoString_ s) { return (size_t)s.n; }
  23.  
  24. __attribute__ ((unused))
  25. static const char *_GoStringPtr(_GoString_ s) { return s.p; }
  26. #line 10 "/usr/lib/go/src/net/cgo_resnew.go"
  27.  
  28. #include <sys/types.h>
  29. #include <sys/socket.h>
  30.  
  31. #include <netdb.h>
  32.  
  33. #line 1 "cgo-generated-wrapper"
  34. #line 1 "not-declared"
  35. void __cgo_f_1_1(void) { __typeof__(char) *__cgo_undefined__1; }
  36. #line 1 "not-type"
  37. void __cgo_f_1_2(void) { char *__cgo_undefined__2; }
  38. #line 1 "not-int-const"
  39. void __cgo_f_1_3(void) { enum { __cgo_undefined__3 = (char)*1 }; }
  40. #line 1 "not-num-const"
  41. void __cgo_f_1_4(void) { static const double __cgo_undefined__4 = (char); }
  42. #line 1 "not-str-lit"
  43. void __cgo_f_1_5(void) { static const char __cgo_undefined__5[] = (char); }
  44. #line 2 "not-declared"
  45. void __cgo_f_2_1(void) { __typeof__(getnameinfo) *__cgo_undefined__1; }
  46. #line 2 "not-type"
  47. void __cgo_f_2_2(void) { getnameinfo *__cgo_undefined__2; }
  48. #line 2 "not-int-const"
  49. void __cgo_f_2_3(void) { enum { __cgo_undefined__3 = (getnameinfo)*1 }; }
  50. #line 2 "not-num-const"
  51. void __cgo_f_2_4(void) { static const double __cgo_undefined__4 = (getnameinfo); }
  52. #line 2 "not-str-lit"
  53. void __cgo_f_2_5(void) { static const char __cgo_undefined__5[] = (getnameinfo); }
  54. #line 3 "not-declared"
  55. void __cgo_f_3_1(void) { __typeof__(socklen_t) *__cgo_undefined__1; }
  56. #line 3 "not-type"
  57. void __cgo_f_3_2(void) { socklen_t *__cgo_undefined__2; }
  58. #line 3 "not-int-const"
  59. void __cgo_f_3_3(void) { enum { __cgo_undefined__3 = (socklen_t)*1 }; }
  60. #line 3 "not-num-const"
  61. void __cgo_f_3_4(void) { static const double __cgo_undefined__4 = (socklen_t); }
  62. #line 3 "not-str-lit"
  63. void __cgo_f_3_5(void) { static const char __cgo_undefined__5[] = (socklen_t); }
  64. #line 1 "completed"
  65. int __cgo__1 = __cgo__2;
  66.  
  67. full error output:
  68. not-int-const: In function '__cgo_f_1_3':
  69. not-int-const:1:60: error: invalid type argument of unary '*' (have 'int')
  70. not-num-const: In function '__cgo_f_1_4':
  71. not-num-const:1:73: error: expected expression before ';' token
  72. not-str-lit: In function '__cgo_f_1_5':
  73. not-str-lit:1:73: error: expected expression before ';' token
  74. not-type: In function '__cgo_f_2_2':
  75. not-type:2:39: error: '__cgo_undefined__2' undeclared (first use in this function)
  76. not-type:2:39: note: each undeclared identifier is reported only once for each function it appears in
  77. not-type:2:38: error: invalid operands to binary * (have 'int (*)(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int (*)(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'} and 'const char *')
  78. not-int-const: In function '__cgo_f_2_3':
  79. not-int-const:2:67: error: invalid operands to binary * (have 'int (*)(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int (*)(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'} and 'int')
  80. not-num-const: In function '__cgo_f_2_4':
  81. not-num-const:2:67: error: incompatible types when initializing type 'double' using type 'int (*)(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int (*)(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
  82. not-str-lit: In function '__cgo_f_2_5':
  83. not-str-lit:2:67: error: invalid initializer
  84. not-int-const: In function '__cgo_f_3_3':
  85. not-int-const:3:65: error: invalid type argument of unary '*' (have 'int')
  86. not-int-const:3:33: error: enumerator value for '__cgo_undefined__3' is not an integer constant
  87. not-num-const: In function '__cgo_f_3_4':
  88. not-num-const:3:78: error: expected expression before ';' token
  89. not-num-const:3:67: error: initializer element is not constant
  90. not-str-lit: In function '__cgo_f_3_5':
  91. not-str-lit:3:78: error: expected expression before ';' token
  92. not-str-lit:3:67: error: invalid initializer
  93. completed: At top level:
  94. completed:1:16: error: '__cgo__2' undeclared here (not in a function); did you mean '__cgo__1'?
  95. completed:1:16: error: initializer element is not constant
  96.  
  97. # os/user
  98. gcc did not produce error at completed:1
  99. on input:
  100.  
  101. #line 1 "cgo-builtin-prolog"
  102. #include <stddef.h> /* for ptrdiff_t and size_t below */
  103.  
  104. /* Define intgo when compiling with GCC. */
  105. typedef ptrdiff_t intgo;
  106.  
  107. #define GO_CGO_GOSTRING_TYPEDEF
  108. typedef struct { const char *p; intgo n; } _GoString_;
  109. typedef struct { char *p; intgo n; intgo c; } _GoBytes_;
  110. _GoString_ GoString(char *p);
  111. _GoString_ GoStringN(char *p, int l);
  112. _GoBytes_ GoBytes(void *p, int n);
  113. char *CString(_GoString_);
  114. void *CBytes(_GoBytes_);
  115. void *_CMalloc(size_t);
  116.  
  117. __attribute__ ((unused))
  118. static size_t _GoStringLen(_GoString_ s) { return (size_t)s.n; }
  119.  
  120. __attribute__ ((unused))
  121. static const char *_GoStringPtr(_GoString_ s) { return s.p; }
  122. #line 18 "/usr/lib/go/src/os/user/cgo_lookup_unix.go"
  123.  
  124.  
  125. #include <unistd.h>
  126. #include <sys/types.h>
  127. #include <pwd.h>
  128. #include <grp.h>
  129. #include <stdlib.h>
  130.  
  131. static int mygetpwuid_r(int uid, struct passwd *pwd,
  132. char *buf, size_t buflen, struct passwd **result) {
  133. return getpwuid_r(uid, pwd, buf, buflen, result);
  134. }
  135.  
  136. static int mygetpwnam_r(const char *name, struct passwd *pwd,
  137. char *buf, size_t buflen, struct passwd **result) {
  138. return getpwnam_r(name, pwd, buf, buflen, result);
  139. }
  140.  
  141. static int mygetgrgid_r(int gid, struct group *grp,
  142. char *buf, size_t buflen, struct group **result) {
  143. return getgrgid_r(gid, grp, buf, buflen, result);
  144. }
  145.  
  146. static int mygetgrnam_r(const char *name, struct group *grp,
  147. char *buf, size_t buflen, struct group **result) {
  148. return getgrnam_r(name, grp, buf, buflen, result);
  149. }
  150.  
  151. #line 1 "cgo-generated-wrapper"
  152. #line 1 "not-declared"
  153. void __cgo_f_1_1(void) { __typeof__(GoString) *__cgo_undefined__1; }
  154. #line 1 "not-type"
  155. void __cgo_f_1_2(void) { GoString *__cgo_undefined__2; }
  156. #line 1 "not-int-const"
  157. void __cgo_f_1_3(void) { enum { __cgo_undefined__3 = (GoString)*1 }; }
  158. #line 1 "not-num-const"
  159. void __cgo_f_1_4(void) { static const double __cgo_undefined__4 = (GoString); }
  160. #line 1 "not-str-lit"
  161. void __cgo_f_1_5(void) { static const char __cgo_undefined__5[] = (GoString); }
  162. #line 2 "not-declared"
  163. void __cgo_f_2_1(void) { __typeof__(_CMalloc) *__cgo_undefined__1; }
  164. #line 2 "not-type"
  165. void __cgo_f_2_2(void) { _CMalloc *__cgo_undefined__2; }
  166. #line 2 "not-int-const"
  167. void __cgo_f_2_3(void) { enum { __cgo_undefined__3 = (_CMalloc)*1 }; }
  168. #line 2 "not-num-const"
  169. void __cgo_f_2_4(void) { static const double __cgo_undefined__4 = (_CMalloc); }
  170. #line 2 "not-str-lit"
  171. void __cgo_f_2_5(void) { static const char __cgo_undefined__5[] = (_CMalloc); }
  172. #line 3 "not-declared"
  173. void __cgo_f_3_1(void) { __typeof__(_SC_GETGR_R_SIZE_MAX) *__cgo_undefined__1; }
  174. #line 3 "not-type"
  175. void __cgo_f_3_2(void) { _SC_GETGR_R_SIZE_MAX *__cgo_undefined__2; }
  176. #line 3 "not-int-const"
  177. void __cgo_f_3_3(void) { enum { __cgo_undefined__3 = (_SC_GETGR_R_SIZE_MAX)*1 }; }
  178. #line 3 "not-num-const"
  179. void __cgo_f_3_4(void) { static const double __cgo_undefined__4 = (_SC_GETGR_R_SIZE_MAX); }
  180. #line 3 "not-str-lit"
  181. void __cgo_f_3_5(void) { static const char __cgo_undefined__5[] = (_SC_GETGR_R_SIZE_MAX); }
  182. #line 4 "not-declared"
  183. void __cgo_f_4_1(void) { __typeof__(_SC_GETPW_R_SIZE_MAX) *__cgo_undefined__1; }
  184. #line 4 "not-type"
  185. void __cgo_f_4_2(void) { _SC_GETPW_R_SIZE_MAX *__cgo_undefined__2; }
  186. #line 4 "not-int-const"
  187. void __cgo_f_4_3(void) { enum { __cgo_undefined__3 = (_SC_GETPW_R_SIZE_MAX)*1 }; }
  188. #line 4 "not-num-const"
  189. void __cgo_f_4_4(void) { static const double __cgo_undefined__4 = (_SC_GETPW_R_SIZE_MAX); }
  190. #line 4 "not-str-lit"
  191. void __cgo_f_4_5(void) { static const char __cgo_undefined__5[] = (_SC_GETPW_R_SIZE_MAX); }
  192. #line 5 "not-declared"
  193. void __cgo_f_5_1(void) { __typeof__(char) *__cgo_undefined__1; }
  194. #line 5 "not-type"
  195. void __cgo_f_5_2(void) { char *__cgo_undefined__2; }
  196. #line 5 "not-int-const"
  197. void __cgo_f_5_3(void) { enum { __cgo_undefined__3 = (char)*1 }; }
  198. #line 5 "not-num-const"
  199. void __cgo_f_5_4(void) { static const double __cgo_undefined__4 = (char); }
  200. #line 5 "not-str-lit"
  201. void __cgo_f_5_5(void) { static const char __cgo_undefined__5[] = (char); }
  202. #line 6 "not-declared"
  203. void __cgo_f_6_1(void) { __typeof__(free) *__cgo_undefined__1; }
  204. #line 6 "not-type"
  205. void __cgo_f_6_2(void) { free *__cgo_undefined__2; }
  206. #line 6 "not-int-const"
  207. void __cgo_f_6_3(void) { enum { __cgo_undefined__3 = (free)*1 }; }
  208. #line 6 "not-num-const"
  209. void __cgo_f_6_4(void) { static const double __cgo_undefined__4 = (free); }
  210. #line 6 "not-str-lit"
  211. void __cgo_f_6_5(void) { static const char __cgo_undefined__5[] = (free); }
  212. #line 7 "not-declared"
  213. void __cgo_f_7_1(void) { __typeof__(int) *__cgo_undefined__1; }
  214. #line 7 "not-type"
  215. void __cgo_f_7_2(void) { int *__cgo_undefined__2; }
  216. #line 7 "not-int-const"
  217. void __cgo_f_7_3(void) { enum { __cgo_undefined__3 = (int)*1 }; }
  218. #line 7 "not-num-const"
  219. void __cgo_f_7_4(void) { static const double __cgo_undefined__4 = (int); }
  220. #line 7 "not-str-lit"
  221. void __cgo_f_7_5(void) { static const char __cgo_undefined__5[] = (int); }
  222. #line 8 "not-declared"
  223. void __cgo_f_8_1(void) { __typeof__(mygetgrgid_r) *__cgo_undefined__1; }
  224. #line 8 "not-type"
  225. void __cgo_f_8_2(void) { mygetgrgid_r *__cgo_undefined__2; }
  226. #line 8 "not-int-const"
  227. void __cgo_f_8_3(void) { enum { __cgo_undefined__3 = (mygetgrgid_r)*1 }; }
  228. #line 8 "not-num-const"
  229. void __cgo_f_8_4(void) { static const double __cgo_undefined__4 = (mygetgrgid_r); }
  230. #line 8 "not-str-lit"
  231. void __cgo_f_8_5(void) { static const char __cgo_undefined__5[] = (mygetgrgid_r); }
  232. #line 9 "not-declared"
  233. void __cgo_f_9_1(void) { __typeof__(mygetgrnam_r) *__cgo_undefined__1; }
  234. #line 9 "not-type"
  235. void __cgo_f_9_2(void) { mygetgrnam_r *__cgo_undefined__2; }
  236. #line 9 "not-int-const"
  237. void __cgo_f_9_3(void) { enum { __cgo_undefined__3 = (mygetgrnam_r)*1 }; }
  238. #line 9 "not-num-const"
  239. void __cgo_f_9_4(void) { static const double __cgo_undefined__4 = (mygetgrnam_r); }
  240. #line 9 "not-str-lit"
  241. void __cgo_f_9_5(void) { static const char __cgo_undefined__5[] = (mygetgrnam_r); }
  242. #line 10 "not-declared"
  243. void __cgo_f_10_1(void) { __typeof__(mygetpwnam_r) *__cgo_undefined__1; }
  244. #line 10 "not-type"
  245. void __cgo_f_10_2(void) { mygetpwnam_r *__cgo_undefined__2; }
  246. #line 10 "not-int-const"
  247. void __cgo_f_10_3(void) { enum { __cgo_undefined__3 = (mygetpwnam_r)*1 }; }
  248. #line 10 "not-num-const"
  249. void __cgo_f_10_4(void) { static const double __cgo_undefined__4 = (mygetpwnam_r); }
  250. #line 10 "not-str-lit"
  251. void __cgo_f_10_5(void) { static const char __cgo_undefined__5[] = (mygetpwnam_r); }
  252. #line 11 "not-declared"
  253. void __cgo_f_11_1(void) { __typeof__(mygetpwuid_r) *__cgo_undefined__1; }
  254. #line 11 "not-type"
  255. void __cgo_f_11_2(void) { mygetpwuid_r *__cgo_undefined__2; }
  256. #line 11 "not-int-const"
  257. void __cgo_f_11_3(void) { enum { __cgo_undefined__3 = (mygetpwuid_r)*1 }; }
  258. #line 11 "not-num-const"
  259. void __cgo_f_11_4(void) { static const double __cgo_undefined__4 = (mygetpwuid_r); }
  260. #line 11 "not-str-lit"
  261. void __cgo_f_11_5(void) { static const char __cgo_undefined__5[] = (mygetpwuid_r); }
  262. #line 12 "not-declared"
  263. void __cgo_f_12_1(void) { __typeof__(realloc) *__cgo_undefined__1; }
  264. #line 12 "not-type"
  265. void __cgo_f_12_2(void) { realloc *__cgo_undefined__2; }
  266. #line 12 "not-int-const"
  267. void __cgo_f_12_3(void) { enum { __cgo_undefined__3 = (realloc)*1 }; }
  268. #line 12 "not-num-const"
  269. void __cgo_f_12_4(void) { static const double __cgo_undefined__4 = (realloc); }
  270. #line 12 "not-str-lit"
  271. void __cgo_f_12_5(void) { static const char __cgo_undefined__5[] = (realloc); }
  272. #line 13 "not-declared"
  273. void __cgo_f_13_1(void) { __typeof__(size_t) *__cgo_undefined__1; }
  274. #line 13 "not-type"
  275. void __cgo_f_13_2(void) { size_t *__cgo_undefined__2; }
  276. #line 13 "not-int-const"
  277. void __cgo_f_13_3(void) { enum { __cgo_undefined__3 = (size_t)*1 }; }
  278. #line 13 "not-num-const"
  279. void __cgo_f_13_4(void) { static const double __cgo_undefined__4 = (size_t); }
  280. #line 13 "not-str-lit"
  281. void __cgo_f_13_5(void) { static const char __cgo_undefined__5[] = (size_t); }
  282. #line 14 "not-declared"
  283. void __cgo_f_14_1(void) { __typeof__(sysconf) *__cgo_undefined__1; }
  284. #line 14 "not-type"
  285. void __cgo_f_14_2(void) { sysconf *__cgo_undefined__2; }
  286. #line 14 "not-int-const"
  287. void __cgo_f_14_3(void) { enum { __cgo_undefined__3 = (sysconf)*1 }; }
  288. #line 14 "not-num-const"
  289. void __cgo_f_14_4(void) { static const double __cgo_undefined__4 = (sysconf); }
  290. #line 14 "not-str-lit"
  291. void __cgo_f_14_5(void) { static const char __cgo_undefined__5[] = (sysconf); }
  292. #line 1 "completed"
  293. int __cgo__1 = __cgo__2;
  294.  
  295. full error output:
  296. not-type: In function '__cgo_f_1_2':
  297. not-type:1:36: error: '__cgo_undefined__2' undeclared (first use in this function)
  298. not-type:1:36: note: each undeclared identifier is reported only once for each function it appears in
  299. not-int-const: In function '__cgo_f_1_3':
  300. not-int-const:1:64: error: invalid operands to binary * (have '_GoString_ (*)(char *)' and 'int')
  301. not-num-const: In function '__cgo_f_1_4':
  302. not-num-const:1:67: error: incompatible types when initializing type 'double' using type '_GoString_ (*)(char *)'
  303. not-str-lit: In function '__cgo_f_1_5':
  304. not-str-lit:1:67: error: invalid initializer
  305. not-type: In function '__cgo_f_2_2':
  306. not-type:2:36: error: '__cgo_undefined__2' undeclared (first use in this function)
  307. not-type:2:35: error: invalid operands to binary * (have 'void * (*)(size_t)' {aka 'void * (*)(long unsigned int)'} and 'const char *')
  308. not-int-const: In function '__cgo_f_2_3':
  309. not-int-const:2:64: error: invalid operands to binary * (have 'void * (*)(size_t)' {aka 'void * (*)(long unsigned int)'} and 'int')
  310. not-num-const: In function '__cgo_f_2_4':
  311. not-num-const:2:67: error: incompatible types when initializing type 'double' using type 'void * (*)(size_t)' {aka 'void * (*)(long unsigned int)'}
  312. not-str-lit: In function '__cgo_f_2_5':
  313. not-str-lit:2:67: error: invalid initializer
  314. not-type: In function '__cgo_f_3_2':
  315. not-type:3:48: error: '__cgo_undefined__2' undeclared (first use in this function)
  316. not-type:3:47: error: invalid operands to binary * (have 'int' and 'const char *')
  317. not-str-lit: In function '__cgo_f_3_5':
  318. not-str-lit:3:67: error: invalid initializer
  319. not-type: In function '__cgo_f_4_2':
  320. not-type:4:48: error: '__cgo_undefined__2' undeclared (first use in this function)
  321. not-type:4:47: error: invalid operands to binary * (have 'int' and 'const char *')
  322. not-str-lit: In function '__cgo_f_4_5':
  323. not-str-lit:4:67: error: invalid initializer
  324. not-int-const: In function '__cgo_f_5_3':
  325. not-int-const:5:60: error: invalid type argument of unary '*' (have 'int')
  326. not-int-const:5:33: error: enumerator value for '__cgo_undefined__3' is not an integer constant
  327. not-num-const: In function '__cgo_f_5_4':
  328. not-num-const:5:73: error: expected expression before ';' token
  329. not-num-const:5:67: error: initializer element is not constant
  330. not-str-lit: In function '__cgo_f_5_5':
  331. not-str-lit:5:73: error: expected expression before ';' token
  332. not-str-lit:5:67: error: invalid initializer
  333. not-type: In function '__cgo_f_6_2':
  334. not-type:6:32: error: '__cgo_undefined__2' undeclared (first use in this function)
  335. not-type:6:31: error: invalid operands to binary * (have 'void (*)(void *)' and 'const char *')
  336. not-int-const: In function '__cgo_f_6_3':
  337. not-int-const:6:60: error: invalid operands to binary * (have 'void (*)(void *)' and 'int')
  338. not-num-const: In function '__cgo_f_6_4':
  339. not-num-const:6:67: error: incompatible types when initializing type 'double' using type 'void (*)(void *)'
  340. not-str-lit: In function '__cgo_f_6_5':
  341. not-str-lit:6:67: error: invalid initializer
  342. not-int-const: In function '__cgo_f_7_3':
  343. not-int-const:7:59: error: invalid type argument of unary '*' (have 'int')
  344. not-int-const:7:33: error: enumerator value for '__cgo_undefined__3' is not an integer constant
  345. not-num-const: In function '__cgo_f_7_4':
  346. not-num-const:7:72: error: expected expression before ';' token
  347. not-num-const:7:67: error: initializer element is not constant
  348. not-str-lit: In function '__cgo_f_7_5':
  349. not-str-lit:7:72: error: expected expression before ';' token
  350. not-str-lit:7:67: error: invalid initializer
  351. not-type: In function '__cgo_f_8_2':
  352. not-type:8:40: error: '__cgo_undefined__2' undeclared (first use in this function)
  353. not-type:8:39: error: invalid operands to binary * (have 'int (*)(int, struct group *, char *, size_t, struct group **)' {aka 'int (*)(int, struct group *, char *, long unsigned int, struct group **)'} and 'const char *')
  354. not-int-const: In function '__cgo_f_8_3':
  355. not-int-const:8:68: error: invalid operands to binary * (have 'int (*)(int, struct group *, char *, size_t, struct group **)' {aka 'int (*)(int, struct group *, char *, long unsigned int, struct group **)'} and 'int')
  356. not-num-const: In function '__cgo_f_8_4':
  357. not-num-const:8:67: error: incompatible types when initializing type 'double' using type 'int (*)(int, struct group *, char *, size_t, struct group **)' {aka 'int (*)(int, struct group *, char *, long unsigned int, struct group **)'}
  358. not-str-lit: In function '__cgo_f_8_5':
  359. not-str-lit:8:67: error: invalid initializer
  360. not-type: In function '__cgo_f_9_2':
  361. not-type:9:40: error: '__cgo_undefined__2' undeclared (first use in this function)
  362. not-type:9:39: error: invalid operands to binary * (have 'int (*)(const char *, struct group *, char *, size_t, struct group **)' {aka 'int (*)(const char *, struct group *, char *, long unsigned int, struct group **)'} and 'const char *')
  363. not-int-const: In function '__cgo_f_9_3':
  364. not-int-const:9:68: error: invalid operands to binary * (have 'int (*)(const char *, struct group *, char *, size_t, struct group **)' {aka 'int (*)(const char *, struct group *, char *, long unsigned int, struct group **)'} and 'int')
  365. not-num-const: In function '__cgo_f_9_4':
  366. not-num-const:9:67: error: incompatible types when initializing type 'double' using type 'int (*)(const char *, struct group *, char *, size_t, struct group **)' {aka 'int (*)(const char *, struct group *, char *, long unsigned int, struct group **)'}
  367. not-str-lit: In function '__cgo_f_9_5':
  368. not-str-lit:9:67: error: invalid initializer
  369. not-type: In function '__cgo_f_10_2':
  370. not-type:10:41: error: '__cgo_undefined__2' undeclared (first use in this function)
  371. not-type:10:40: error: invalid operands to binary * (have 'int (*)(const char *, struct passwd *, char *, size_t, struct passwd **)' {aka 'int (*)(const char *, struct passwd *, char *, long unsigned int, struct passwd **)'} and 'const char *')
  372. not-int-const: In function '__cgo_f_10_3':
  373. not-int-const:10:69: error: invalid operands to binary * (have 'int (*)(const char *, struct passwd *, char *, size_t, struct passwd **)' {aka 'int (*)(const char *, struct passwd *, char *, long unsigned int, struct passwd **)'} and 'int')
  374. not-num-const: In function '__cgo_f_10_4':
  375. not-num-const:10:68: error: incompatible types when initializing type 'double' using type 'int (*)(const char *, struct passwd *, char *, size_t, struct passwd **)' {aka 'int (*)(const char *, struct passwd *, char *, long unsigned int, struct passwd **)'}
  376. not-str-lit: In function '__cgo_f_10_5':
  377. not-str-lit:10:68: error: invalid initializer
  378. not-type: In function '__cgo_f_11_2':
  379. not-type:11:41: error: '__cgo_undefined__2' undeclared (first use in this function)
  380. not-type:11:40: error: invalid operands to binary * (have 'int (*)(int, struct passwd *, char *, size_t, struct passwd **)' {aka 'int (*)(int, struct passwd *, char *, long unsigned int, struct passwd **)'} and 'const char *')
  381. not-int-const: In function '__cgo_f_11_3':
  382. not-int-const:11:69: error: invalid operands to binary * (have 'int (*)(int, struct passwd *, char *, size_t, struct passwd **)' {aka 'int (*)(int, struct passwd *, char *, long unsigned int, struct passwd **)'} and 'int')
  383. not-num-const: In function '__cgo_f_11_4':
  384. not-num-const:11:68: error: incompatible types when initializing type 'double' using type 'int (*)(int, struct passwd *, char *, size_t, struct passwd **)' {aka 'int (*)(int, struct passwd *, char *, long unsigned int, struct passwd **)'}
  385. not-str-lit: In function '__cgo_f_11_5':
  386. not-str-lit:11:68: error: invalid initializer
  387. not-type: In function '__cgo_f_12_2':
  388. not-type:12:36: error: '__cgo_undefined__2' undeclared (first use in this function)
  389. not-type:12:35: error: invalid operands to binary * (have 'void * (*)(void *, size_t)' {aka 'void * (*)(void *, long unsigned int)'} and 'const char *')
  390. not-int-const: In function '__cgo_f_12_3':
  391. not-int-const:12:64: error: invalid operands to binary * (have 'void * (*)(void *, size_t)' {aka 'void * (*)(void *, long unsigned int)'} and 'int')
  392. not-num-const: In function '__cgo_f_12_4':
  393. not-num-const:12:68: error: incompatible types when initializing type 'double' using type 'void * (*)(void *, size_t)' {aka 'void * (*)(void *, long unsigned int)'}
  394. not-str-lit: In function '__cgo_f_12_5':
  395. not-str-lit:12:68: error: invalid initializer
  396. not-int-const: In function '__cgo_f_13_3':
  397. not-int-const:13:63: error: invalid type argument of unary '*' (have 'int')
  398. not-int-const:13:34: error: enumerator value for '__cgo_undefined__3' is not an integer constant
  399. not-num-const: In function '__cgo_f_13_4':
  400. not-num-const:13:76: error: expected expression before ';' token
  401. not-num-const:13:68: error: initializer element is not constant
  402. not-str-lit: In function '__cgo_f_13_5':
  403. not-str-lit:13:76: error: expected expression before ';' token
  404. not-str-lit:13:68: error: invalid initializer
  405. not-type: In function '__cgo_f_14_2':
  406. not-type:14:36: error: '__cgo_undefined__2' undeclared (first use in this function)
  407. not-type:14:35: error: invalid operands to binary * (have 'long int (*)(int)' and 'const char *')
  408. not-int-const: In function '__cgo_f_14_3':
  409. not-int-const:14:64: error: invalid operands to binary * (have 'long int (*)(int)' and 'int')
  410. not-num-const: In function '__cgo_f_14_4':
  411. not-num-const:14:68: error: incompatible types when initializing type 'double' using type 'long int (*)(int)'
  412. not-str-lit: In function '__cgo_f_14_5':
  413. not-str-lit:14:68: error: invalid initializer
  414. completed: At top level:
  415. completed:1:16: error: '__cgo__2' undeclared here (not in a function); did you mean '__cgo__1'?
  416. completed:1:16: error: initializer element is not constant
Add Comment
Please, Sign In to add comment