···
====================[ Build | redis | Debug ]===================================
C:\Users\admin\AppData\Local\JetBrains\CLion2020.1\cygwin_cmake\bin\cmake.exe --build /cygdrive/d/cpath/redis/cmake-build-debug --target redis -- -j 4
Scanning dependencies of target redis
[ 0%] Building C object CMakeFiles/redis.dir/deps/hiredis/examples/example-ae.c.o
[ 0%] Building C object CMakeFiles/redis.dir/deps/hiredis/examples/example-glib.c.o
[ 1%] Building C object CMakeFiles/redis.dir/deps/hiredis/examples/example-ivykis.c.o
[ 1%] Building C object CMakeFiles/redis.dir/deps/hiredis/examples/example-libev.c.o
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
33 | #error "Use this header only with Microsoft Visual C++ compilers!"
| ^~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:89:23: error: expected ';' before 'int64_t'
89 | typedef signed __int64 int64_t;
| ^ ~~~~~~~
| ;
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:89:1: warning: useless type name in empty declaration
89 | typedef signed __int64 int64_t;
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:90:25: error: expected ';' before 'uint64_t'
90 | typedef unsigned __int64 uint64_t;
| ^ ~~~~~~~~
| ;
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:90:1: warning: useless type name in empty declaration
90 | typedef unsigned __int64 uint64_t;
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:118:30: error: conflicting types for 'intptr_t'
118 | typedef _W64 signed int intptr_t;
| ^~~~~~~~
In file included from /usr/include/sys/types.h:46,
from /usr/include/stdio.h:61,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:1:
/usr/include/sys/_stdint.h:77:20: note: previous declaration of 'intptr_t' was here
77 | typedef __intptr_t intptr_t;
| ^~~~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:119:30: error: conflicting types for 'uintptr_t'
119 | typedef _W64 unsigned int uintptr_t;
| ^~~~~~~~~
In file included from /usr/include/sys/types.h:46,
from /usr/include/stdio.h:61,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:1:
/usr/include/sys/_stdint.h:82:21: note: previous declaration of 'uintptr_t' was here
82 | typedef __uintptr_t uintptr_t;
| ^~~~~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/sds.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:44,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
33 | #error "Use this header only with Microsoft Visual C++ compilers!"
| ^~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:8:
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:40:5: error: unknown type name 'aeEventLoop'
40 | aeEventLoop loop;
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:45:30: error: unknown type name 'aeEventLoop'
45 | static void redisAeReadEvent(aeEventLoop el, int fd, void privdata, int mask) {
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:52:31: error: unknown type name 'aeEventLoop'
52 | static void redisAeWriteEvent(aeEventLoop el, int fd, void privdata, int mask) {
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h: In function 'redisAeAddRead':
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:61:5: error: unknown type name 'aeEventLoop'
61 | aeEventLoop loop = e->loop;
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:64:9: warning: implicit declaration of function 'aeCreateFileEvent' [-Wimplicit-function-declaration]
64 | aeCreateFileEvent(loop,e->fd,AE_READABLE,redisAeReadEvent,e);
| ^~~~~~~~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:64:38: error: 'AE_READABLE' undeclared (first use in this function)
64 | aeCreateFileEvent(loop,e->fd,AE_READABLE,redisAeReadEvent,e);
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:64:38: note: each undeclared identifier is reported only once for each function it appears in
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:64:50: error: 'redisAeReadEvent' undeclared (first use in this function); did you mean 'redisAeEvents'?
64 | aeCreateFileEvent(loop,e->fd,AE_READABLE,redisAeReadEvent,e);
| ^~~~~~~~~~~~~~~~
| redisAeEvents
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h: In function 'redisAeDelRead':
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:70:5: error: unknown type name 'aeEventLoop'
70 | aeEventLoop loop = e->loop;
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:73:9: warning: implicit declaration of function 'aeDeleteFileEvent' [-Wimplicit-function-declaration]
73 | aeDeleteFileEvent(loop,e->fd,AE_READABLE);
| ^~~~~~~~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:73:38: error: 'AE_READABLE' undeclared (first use in this function)
73 | aeDeleteFileEvent(loop,e->fd,AE_READABLE);
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h: In function 'redisAeAddWrite':
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:79:5: error: unknown type name 'aeEventLoop'
79 | aeEventLoop loop = e->loop;
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:82:38: error: 'AE_WRITABLE' undeclared (first use in this function)
82 | aeCreateFileEvent(loop,e->fd,AE_WRITABLE,redisAeWriteEvent,e);
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:82:50: error: 'redisAeWriteEvent' undeclared (first use in this function); did you mean 'redisAeEvents'?
82 | aeCreateFileEvent(loop,e->fd,AE_WRITABLE,redisAeWriteEvent,e);
| ^~~~~~~~~~~~~~~~~
| redisAeEvents
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h: In function 'redisAeDelWrite':
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:88:5: error: unknown type name 'aeEventLoop'
88 | aeEventLoop loop = e->loop;
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:91:38: error: 'AE_WRITABLE' undeclared (first use in this function)
91 | aeDeleteFileEvent(loop,e->fd,AE_WRITABLE);
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h: At top level:
/cygdrive/d/cpath/redis/deps/hiredis/adapters/ae.h:102:26: error: unknown type name 'aeEventLoop'
102 | static int redisAeAttach(aeEventLoop loop, redisAsyncContext ac) {
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:11:8: error: unknown type name 'aeEventLoop'
11 | static aeEventLoop loop;
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c: In function 'connectCallback':
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:25:9: warning: implicit declaration of function 'aeStop' [-Wimplicit-function-declaration]
25 | aeStop(loop);
| ^~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:3:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
33 | #error "Use this header only with Microsoft Visual C++ compilers!"
| ^~~~~
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c: In function 'main':
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:53:12: warning: implicit declaration of function 'aeCreateEventLoop' [-Wimplicit-function-declaration]
53 | loop = aeCreateEventLoop(64);
| ^~~~~~~~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:53:10: warning: assignment to 'int ' from 'int' makes pointer from integer without a cast [-Wint-conversion]
53 | loop = aeCreateEventLoop(64);
| ^
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:54:5: warning: implicit declaration of function 'redisAeAttach' [-Wimplicit-function-declaration]
54 | redisAeAttach(loop, c);
| ^~~~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-ae.c:59:5: warning: implicit declaration of function 'aeMain' [-Wimplicit-function-declaration]
59 | aeMain(loop);
| ^~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:3:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:89:23: error: expected ';' before 'int64_t'
89 | typedef signed __int64 int64_t;
| ^ ~~~~~~~
| ;
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:89:1: warning: useless type name in empty declaration
89 | typedef signed __int64 int64_t;
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:90:25: error: expected ';' before 'uint64_t'
90 | typedef unsigned __int64 uint64_t;
| ^ ~~~~~~~~
| ;
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:90:1: warning: useless type name in empty declaration
90 | typedef unsigned __int64 uint64_t;
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:118:30: error: conflicting types for 'intptr_t'
118 | typedef _W64 signed int intptr_t;
| ^~~~~~~~
In file included from /usr/include/sys/types.h:46,
from /usr/include/stdio.h:61,
from /cygdrive/d/cpath/redis/deps/hiredis/read.h:35,
from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:36,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:3:
/usr/include/sys/_stdint.h:77:20: note: previous declaration of 'intptr_t' was here
77 | typedef __intptr_t intptr_t;
| ^~~~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:3:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:119:30: error: conflicting types for 'uintptr_t'
119 | typedef _W64 unsigned int uintptr_t;
| ^~~~~~~~~
In file included from /usr/include/sys/types.h:46,
from /usr/include/stdio.h:61,
from /cygdrive/d/cpath/redis/deps/hiredis/read.h:35,
from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:36,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:3:
/usr/include/sys/_stdint.h:82:21: note: previous declaration of 'uintptr_t' was here
82 | typedef __uintptr_t uintptr_t;
| ^~~~~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/sds.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:44,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:3:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
33 | #error "Use this header only with Microsoft Visual C++ compilers!"
| ^~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:5:
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:11:5: error: unknown type name 'GSource'
11 | GSource source;
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:13:5: error: unknown type name 'GPollFD'
13 | GPollFD poll_fd;
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:17:24: error: unknown type name 'gpointer'
17 | redis_source_add_read (gpointer data)
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:26:24: error: unknown type name 'gpointer'
26 | redis_source_del_read (gpointer data)
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:35:25: error: unknown type name 'gpointer'
35 | redis_source_add_write (gpointer data)
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:44:25: error: unknown type name 'gpointer'
44 | redis_source_del_write (gpointer data)
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:53:23: error: unknown type name 'gpointer'
53 | redis_source_cleanup (gpointer data)
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:71:8: error: unknown type name 'gboolean'
71 | static gboolean
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:72:23: error: unknown type name 'GSource'
72 | redis_source_prepare (GSource source,
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:73:23: error: unknown type name 'gint'; did you mean 'uint'?
73 | gint timeout_)
| ^~~~
| uint
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:80:8: error: unknown type name 'gboolean'
80 | static gboolean
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:81:21: error: unknown type name 'GSource'
81 | redis_source_check (GSource source)
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:87:8: error: unknown type name 'gboolean'
87 | static gboolean
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:88:24: error: unknown type name 'GSource'
88 | redis_source_dispatch (GSource source,
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:89:24: error: unknown type name 'GSourceFunc'
89 | GSourceFunc callback,
| ^~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:90:24: error: unknown type name 'gpointer'
90 | gpointer user_data)
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:112:24: error: unknown type name 'GSource'
112 | redis_source_finalize (GSource source)
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:122:8: error: unknown type name 'GSource'
122 | static GSource *
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h: In function 'redis_source_new':
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:125:12: error: unknown type name 'GSourceFuncs'
125 | static GSourceFuncs source_funcs = {
| ^~~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:126:9: error: field name not in record or union initializer
126 | .prepare = redis_source_prepare,
| ^
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:126:9: note: (near initialization for 'source_funcs')
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:126:21: error: 'redis_source_prepare' undeclared (first use in this function); did you mean 'redis_source_new'?
126 | .prepare = redis_source_prepare,
| ^~~~~~~~~~~~~~~~~~~~
| redis_source_new
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:126:21: note: each undeclared identifier is reported only once for each function it appears in
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:127:9: error: field name not in record or union initializer
127 | .check = redis_source_check,
| ^
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:127:9: note: (near initialization for 'source_funcs')
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-libev.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
33 | #error "Use this header only with Microsoft Visual C++ compilers!"
| ^~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:127:22: error: 'redis_source_check' undeclared (first use in this function); did you mean 'redis_source_new'?
127 | .check = redis_source_check,
| ^~~~~~~~~~~~~~~~~~
| redis_source_new
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:127:22: warning: excess elements in scalar initializer
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:127:22: note: (near initialization for 'source_funcs')
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:128:9: error: field name not in record or union initializer
128 | .dispatch = redis_source_dispatch,
| ^
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:128:9: note: (near initialization for 'source_funcs')
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:128:21: error: 'redis_source_dispatch' undeclared (first use in this function)
128 | .dispatch = redis_source_dispatch,
| ^~~~~~~~~~~~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:128:21: warning: excess elements in scalar initializer
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:128:21: note: (near initialization for 'source_funcs')
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:129:9: error: field name not in record or union initializer
129 | .finalize = redis_source_finalize,
| ^
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:129:9: note: (near initialization for 'source_funcs')
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:129:21: error: 'redis_source_finalize' undeclared (first use in this function); did you mean 'redis_source_new'?
129 | .finalize = redis_source_finalize,
| ^~~~~~~~~~~~~~~~~~~~~
| redis_source_new
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:129:21: warning: excess elements in scalar initializer
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:129:21: note: (near initialization for 'source_funcs')
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:134:5: warning: implicit declaration of function 'g_return_val_if_fail' [-Wimplicit-function-declaration]
134 | g_return_val_if_fail(ac != NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-libev.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:89:23: error: expected ';' before 'int64_t'
89 | typedef signed __int64 int64_t;
| ^ ~~~~~~~
| ;
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:89:1: warning: useless type name in empty declaration
89 | typedef signed __int64 int64_t;
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:90:25: error: expected ';' before 'uint64_t'
90 | typedef unsigned __int64 uint64_t;
| ^ ~~~~~~~~
| ;
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:90:1: warning: useless type name in empty declaration
90 | typedef unsigned __int64 uint64_t;
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:118:30: error: conflicting types for 'intptr_t'
118 | typedef _W64 signed int intptr_t;
| ^~~~~~~~
In file included from /usr/include/sys/types.h:46,
from /usr/include/stdio.h:61,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-libev.c:1:
/usr/include/sys/_stdint.h:77:20: note: previous declaration of 'intptr_t' was here
77 | typedef __intptr_t intptr_t;
| ^~~~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-libev.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:119:30: error: conflicting types for 'uintptr_t'
119 | typedef _W64 unsigned int uintptr_t;
| ^~~~~~~~~
In file included from /usr/include/sys/types.h:46,
from /usr/include/stdio.h:61,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-libev.c:1:
/usr/include/sys/_stdint.h:82:21: note: previous declaration of 'uintptr_t' was here
82 | typedef __uintptr_t uintptr_t;
| ^~~~~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/sds.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:44,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-libev.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
33 | #error "Use this header only with Microsoft Visual C++ compilers!"
| ^~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:136:29: warning: implicit declaration of function 'g_source_new'; did you mean 'redis_source_new'? [-Wimplicit-function-declaration]
136 | source = (RedisSource )g_source_new(&source_funcs, sizeof source);
| ^~~~~~~~~~~~
| redis_source_new
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:136:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
136 | source = (RedisSource )g_source_new(&source_funcs, sizeof source);
| ^
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:138:20: error: request for member 'fd' in something not a structure or union
138 | source->poll_fd.fd = c->fd;
| ^
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:139:20: error: request for member 'events' in something not a structure or union
139 | source->poll_fd.events = 0;
| ^
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:140:20: error: request for member 'revents' in something not a structure or union
140 | source->poll_fd.revents = 0;
| ^
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:141:5: warning: implicit declaration of function 'g_source_add_poll' [-Wimplicit-function-declaration]
141 | g_source_add_poll((GSource )source, &source->poll_fd);
| ^~~~~~~~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:141:24: error: 'GSource' undeclared (first use in this function); did you mean 'source'?
141 | g_source_add_poll((GSource )source, &source->poll_fd);
| ^~~~~~~
| source
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:141:33: error: expected expression before ')' token
141 | g_source_add_poll((GSource )source, &source->poll_fd);
| ^
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:143:22: error: 'redis_source_add_read' undeclared (first use in this function); did you mean 'redis_source_new'?
143 | ac->ev.addRead = redis_source_add_read;
| ^~~~~~~~~~~~~~~~~~~~~
| redis_source_new
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:144:22: error: 'redis_source_del_read' undeclared (first use in this function); did you mean 'redis_source_new'?
144 | ac->ev.delRead = redis_source_del_read;
| ^~~~~~~~~~~~~~~~~~~~~
| redis_source_new
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:145:23: error: 'redis_source_add_write' undeclared (first use in this function); did you mean 'redis_source_new'?
145 | ac->ev.addWrite = redis_source_add_write;
| ^~~~~~~~~~~~~~~~~~~~~~
| redis_source_new
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:146:23: error: 'redis_source_del_write' undeclared (first use in this function); did you mean 'redis_source_new'?
146 | ac->ev.delWrite = redis_source_del_write;
| ^~~~~~~~~~~~~~~~~~~~~~
| redis_source_new
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:147:22: error: 'redis_source_cleanup' undeclared (first use in this function); did you mean 'redis_source_new'?
147 | ac->ev.cleanup = redis_source_cleanup;
| ^~~~~~~~~~~~~~~~~~~~
| redis_source_new
/cygdrive/d/cpath/redis/deps/hiredis/adapters/glib.h:150:22: error: expected expression before ')' token
150 | return (GSource )source;
| ^
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c: At top level:
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:7:8: error: unknown type name 'GMainLoop'
7 | static GMainLoop mainloop;
| ^~~~~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ivykis.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
33 | #error "Use this header only with Microsoft Visual C++ compilers!"
| ^~~~~
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:10:41: error: expected ';', ',' or ')' before 'G_GNUC_UNUSED'
10 | connect_cb (const redisAsyncContext ac G_GNUC_UNUSED,
| ^~~~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:22:44: error: expected ';', ',' or ')' before 'G_GNUC_UNUSED'
22 | disconnect_cb (const redisAsyncContext ac G_GNUC_UNUSED,
| ^~~~~~~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:35:12: error: unknown type name 'gpointer'
35 | gpointer r,
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:36:12: error: unknown type name 'gpointer'
36 | gpointer user_data G_GNUC_UNUSED)
| ^~~~~~~~
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:47:1: error: unknown type name 'gint'; did you mean 'uint'?
47 | gint
| ^~~~
| uint
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:48:7: error: unknown type name 'gint'; did you mean 'uint'?
48 | main (gint argc G_GNUC_UNUSED,
| ^~~~
| uint
/cygdrive/d/cpath/redis/deps/hiredis/examples/example-glib.c:49:7: error: unknown type name 'gchar'; did you mean 'char'?
49 | gchar argv[] G_GNUC_UNUSED)
| ^~~~~
| char
make[3]: *** [CMakeFiles/redis.dir/build.make:63: CMakeFiles/redis.dir/deps/hiredis/examples/example-ae.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ivykis.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:89:23: error: expected ';' before 'int64_t'
89 | typedef signed __int64 int64_t;
| ^ ~~~~~~~
| ;
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:89:1: warning: useless type name in empty declaration
89 | typedef signed __int64 int64_t;
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:90:25: error: expected ';' before 'uint64_t'
90 | typedef unsigned __int64 uint64_t;
| ^ ~~~~~~~~
| ;
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:90:1: warning: useless type name in empty declaration
90 | typedef unsigned __int64 uint64_t;
| ^~~~~~~
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:118:30: error: conflicting types for 'intptr_t'
118 | typedef _W64 signed int intptr_t;
| ^~~~~~~~
In file included from /usr/include/sys/types.h:46,
from /usr/include/stdio.h:61,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ivykis.c:1:
/usr/include/sys/_stdint.h:77:20: note: previous declaration of 'intptr_t' was here
77 | typedef __intptr_t intptr_t;
| ^~~~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ivykis.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:119:30: error: conflicting types for 'uintptr_t'
119 | typedef _W64 unsigned int uintptr_t;
| ^~~~~~~~~
In file included from /usr/include/sys/types.h:46,
from /usr/include/stdio.h:61,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ivykis.c:1:
/usr/include/sys/_stdint.h:82:21: note: previous declaration of 'uintptr_t' was here
82 | typedef __uintptr_t uintptr_t;
| ^~~~~~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/sds.h:43,
from /cygdrive/d/cpath/redis/deps/hiredis/hiredis.h:44,
from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-ivykis.c:6:
/cygdrive/d/cpath/redis/deps/jemalloc/include/msvc_compat/C99/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
33 | #error "Use this header only with Microsoft Visual C++ compilers!"
| ^~~~~
In file included from /cygdrive/d/cpath/redis/deps/hiredis/examples/example-libev.c:8:
/cygdrive/d/cpath/redis/deps/hiredis/adapters/libev.h:35:10: fatal error: ev.h: No such file or directory
35 | #include
···
Comment From: bsergean
I don't think that redis is supported on Windows in the default branch. There are Windows ports however that exists which you can google.
Comment From: trevor211
I think this issue can be closed. @oranagra
Comment From: itamarhaber
This issue doesn't seem to be related to the repo and the OP is non-responsive. Thanks @trevor211 and @bsergean for helping :) Closing this - please feel free to reopen or create a new issue if needed.