Netflix / dynomite

A generic dynamo implementation for different k-v storage engines
Apache License 2.0
4.2k stars 532 forks source link

error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' #818

Open yurivict opened 1 year ago

yurivict commented 1 year ago
cc -DHAVE_CONFIG_H -I. -I../..  -I ../../src  -Wall -Wshadow -Wno-unused-parameter -Wno-unused-value -O2 -pipe  -fcommon -fstack-protector-strong -fno-strict-aliasing  -MT dyn_florida.o -MD -MP -MF .deps/dyn_florida.Tpo -c -o dyn_florida.o dyn_florida.c
cc -DHAVE_CONFIG_H -I. -I../..  -I ../../src  -Wall -Wshadow -Wno-unused-parameter -Wno-unused-value -O2 -pipe  -fcommon -fstack-protector-strong -fno-strict-aliasing  -MT dyn_dns.o -MD -MP -MF .deps/dyn_dns.Tpo -c -o dyn_dns.o dyn_dns.c
dyn_florida.c:35:12: error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion]
static int floridaPort = NULL;
           ^             ~~~~

clang-14