rofl0r/proxychains-ng

Build error on macOS: `core.c: error: macro "memcpy" passed 6 arguments, but takes just 3`

barracuda156 opened this issue · 0 comments

src/core.c: In function 'proxy_getaddrinfo':
src/core.c:1002:46: error: macro "memcpy" passed 6 arguments, but takes just 3
 1002 |                        (char[]){127,0,0,1}, 4);
      |                                              ^
In file included from /usr/include/string.h:148,
                 from src/core.c:21:
/usr/include/secure/_string.h:50:9: note: macro "memcpy" defined here
   50 | #define memcpy(dest, src, len)                                  \
      |         ^~~~~~
src/core.c:1001:17: warning: statement with no effect [-Wunused-value]
 1001 |                 memcpy(&((struct sockaddr_in *) &space->sockaddr_space)->sin_addr,
      |                 ^~~~~~
make: *** [src/core.o] Error 1