You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% make
make all-am
make[1]: Entering directory /home/tim/tmp/watchman' gcc -DHAVE_CONFIG_H -I. -Ithirdparty/jansson -Werror -D_REENTRANT -g -O2 -Wall -Wextra -Wdeclaration-after-statement -g -gdwarf-2 -fno-omit-frame-pointer -MT watchman-opt.o -MD -MP -MF .deps/watchman-opt.Tpo -c -o watchman-opt.otest -f 'opt.c' || echo './'opt.c opt.c: In function ‘w_getopt’: opt.c:201:19: error: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Werror=unused-result] cc1: all warnings being treated as errors make[1]: *** [watchman-opt.o] Error 1 make[1]: Leaving directory/home/tim/tmp/watchman'
make: *** [all] Error 2
If I hack the code to not ignore asprintf, it gets further:
ht.c: In function ‘w_ht_string_copy’:
ht.c:370:19: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
ht.c: In function ‘w_ht_string_del’:
ht.c:376:19: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
ht.c: In function ‘w_ht_string_equal’:
ht.c:381:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
ht.c:381:41: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
ht.c: In function ‘w_ht_string_hash’:
ht.c:386:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
cc1: all warnings being treated as errors
make[1]: *** [watchman-ht.o] Error 1
make[1]: Leaving directory `/home/tim/src/watchman'
make: *** [all] Error 2
Activity
wez commentedon May 30, 2013
Let's call this one a dup of your other one
tests/integration/modified.php
watchman: avoid recursive case during age out
avoid a deadlock in the idle watch reaper
don't leak client states hash
change logging in exit handlers to not avoid locking
distinguish notify wait termination