CLEAN common (build temp files)
CLEAN common
CLEAN mt19937ar (build temp files)
CLEAN mt19937ar
CLEAN libconfig (build temp files)
CLEAN libconfig
CLEAN login (build temp files)
CLEAN login
CLEAN char (build temp files)
CLEAN char
CLEAN map (build temp files)
CLEAN map
CLEAN plugins (build temp files)
CLEAN plugins
CLEAN tool (build temp files)
CLEAN tool
CLEAN test (build temp files)
CLEAN test
CLEAN HPMHookGen
Saguns-MacBook-Pro-3:Hercules Sagun$ ./configure --enable-64bit --enable-sanitize=full CC=gcc-6 --disable-manager --enable-debug
checking for gcc... gcc-6
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-6 accepts -g... yes
checking for gcc-6 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc-6 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for gcc... (cached) gcc-6
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc-6 accepts -g... (cached) yes
checking for gcc-6 option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc-6 -E
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc-6 produces 32bit code... no
checking whether gcc-6 supports __thread specifier (TLS)... yes
checking whether gcc-6 accepts -rdynamic... yes
checking whether gcc-6 supports -fsanitize=address... yes
checking whether gcc-6 supports -fsanitize=shift... yes
checking whether gcc-6 supports -fsanitize=integer-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=unreachable... yes
checking whether gcc-6 supports -fsanitize=vla-bound... yes
checking whether gcc-6 supports -fsanitize=null... yes
checking whether gcc-6 supports -fsanitize=return... yes
checking whether gcc-6 supports -fsanitize=signed-integer-overflow... yes
checking whether gcc-6 supports -fsanitize=bounds... yes
checking whether gcc-6 supports -fsanitize=object-size... yes
checking whether gcc-6 supports -fsanitize=float-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=float-cast-overflow... yes
checking whether gcc-6 supports -fsanitize=nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=returns-nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=bool... yes
checking whether gcc-6 supports -fsanitize=enum... yes
checking whether gcc-6 supports -fsanitize=vptr... yes
checking whether gcc-6 supports -Wno-unused-parameter... yes
checking whether gcc-6 can actually use -Wno-unused-parameter... yes
checking whether gcc-6 supports -Wno-clobbered... yes
checking whether gcc-6 supports -Wempty-body... yes
checking whether gcc-6 supports -Wnewline-eof... no
checking whether gcc-6 supports -Wint-conversion... yes
checking whether gcc-6 supports -Winit-self... yes
checking whether gcc-6 supports -Wpointer-arith... yes
checking whether gcc-6 supports -Wswitch-bool... yes
checking whether gcc-6 supports -Wenum-conversion... no
checking whether gcc-6 supports -Wshorten-64-to-32... no
checking whether gcc-6 supports -Wconstant-conversion... no
checking whether gcc-6 supports -Wbool-conversion... no
checking whether gcc-6 supports -Wformat-security... yes
checking whether gcc-6 supports -Wformat... yes
checking whether gcc-6 supports -Wformat-signedness... yes
checking whether gcc-6 supports -Wformat-y2k... yes
checking whether gcc-6 supports -Wmissing-include-dirs... no
checking whether gcc-6 supports -Wsuggest-attribute=noreturn... yes
checking whether gcc-6 supports -Wundef... yes
checking whether gcc-6 supports -Wlogical-op... yes
checking whether gcc-6 supports -Wnested-externs... yes
checking whether gcc-6 supports -Wold-style-definition... yes
checking whether gcc-6 supports -Woverlength-strings... yes
checking whether gcc-6 supports -Wredundant-decls... yes
checking whether gcc-6 supports -Wcast-qual... yes
checking whether gcc-6 supports -Wno-format-nonliteral... yes
checking whether gcc-6 supports -Wno-switch... yes
checking whether gcc-6 supports -Wno-missing-field-initializers... yes
checking whether gcc-6 supports -Wshadow... yes
checking whether gcc-6 can efficiently use -Wshadow... yes
checking whether gcc-6 supports -fPIC... yes
checking how to make shared objects... -shared yes
checking whether gcc-6 needs -Wl,--no-undefined to check for undefined references in shared objects... no
checking whether gcc-6 supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking host OS... Darwin
checking for MinGW... no
checking for library containing inflateEnd... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing sqrt... none required
checking for library containing clock_gettime... no
checking for library containing pthread_create... none required
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for library containing backtrace... none required
checking for mysql_config... /usr/local/bin/mysql_config
checking for mysql_init... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (required)... yes (10.1.13)
checking PCRE library... checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for library containing pcre_study... -lpcre
checking for doxygen... yes
checking for perl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common/Makefile
config.status: creating 3rdparty/mt19937ar/Makefile
config.status: creating 3rdparty/libconfig/Makefile
config.status: creating src/char/Makefile
config.status: creating src/login/Makefile
config.status: creating src/map/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/tool/Makefile
config.status: creating src/test/Makefile
config.status: creating tools/HPMHookGen/Makefile
Saguns-MacBook-Pro-3:Hercules Sagun$ make sql -j 9
MAKE mt19937ar
MAKE libconfig
CC mt19937ar.c
CC libconfig.c
CC grammar.c
CC scanctx.c
CC scanner.c
building conf/import folder...
CC strbuf.c
MAKE common_sql
MKDIR obj_all
MKDIR obj_sql
CC conf.c
CC db.c
CC des.c
CC ers.c
CC grfio.c
CC HPM.c
CC mapindex.c
CC md5calc.c
CC mutex.c
CC nullpo.c
CC random.c
CC showmsg.c
CC strlib.c
CC sysinfo.c
CC thread.c
CC timer.c
CC utils.c
CC console.c
CC core.c
CC memmgr.c
CC socket.c
CC sql.c
CC console.c
CC core.c
CC memmgr.c
CC socket.c
AR obj_sql/common_sql.a
AR obj_all/common.a
AR obj_all/common_mini.a
MAKE login_sql
MAKE char_sql
MAKE map_sql
MKDIR obj_sql
MKDIR obj_sql
MKDIR obj_sql
CC account_sql.c
CC HPMlogin.c
CC ipban_sql.c
CC lclif.c
CC login.c
CC loginlog_sql.c
CC char.c
CC HPMchar.c
CC atcommand.c
CC loginif.c
CC battle.c
CC battleground.c
CC mapif.c
CC buyingstore.c
CC geoip.c
CC channel.c
CC chat.c
CC inter.c
CC chrif.c
CC int_auction.c
CC int_elemental.c
CC int_guild.c
CC clif.c
CC date.c
CC int_homun.c
clif.c: In function 'clif_ranklist_sub':
clif.c:14105:21: warning: logical 'and' of equal expressions [-Wlogical-op]
for( i = 0; i < 10 && i < MAX_FAME_LIST; i++ ) {
^~
LD login-server
CC duel.c
CC elemental.c
In file included from clif.c:63:0:
clif.c: In function 'clif_parse_bgqueue_checkstate':
../common/nullpo.h:72:23: warning: nonnull argument 'sd' compared to NULL [-Wnonnull-compare]
#define nullpo_chk(t) ( (t) != NULL ? false : (nullpo->assert_report(__FILE__, __LINE__, __func__, #t, "nullpo info"), true) )
^
../common/nullpo.h:110:11: note: in expansion of macro 'nullpo_chk'
do { if (nullpo_chk(t)) return; } while(0)
^~~~~~~~~~
clif.c:17814:2: note: in expansion of macro 'nullpo_retv'
nullpo_retv(sd);
^~~~~~~~~~~
CC int_mail.c
CC guild.c
CC homunculus.c
CC int_mercenary.c
CC int_party.c
CC HPMmap.c
CC instance.c
CC int_pet.c
CC intif.c
CC int_quest.c
CC irc-bot.c
CC int_storage.c
CC pincode.c
CC itemdb.c
CC log.c
CC mail.c
CC map.c
CC mapreg_sql.c
CC mercenary.c
CC mob.c
mob.c: In function 'mob_read_randommonster':
mob.c:4618:39: warning: logical 'and' of equal expressions [-Wlogical-op]
for (i = 0; i < ARRAYLENGTH(mobfile) && i < MAX_RANDOMMONSTER; i++) {
^~
CC npc.c
CC npc_chat.c
CC party.c
CC path.c
LD char-server
CC pc.c
CC pc_groups.c
CC pet.c
CC quest.c
CC script.c
CC searchstore.c
CC skill.c
CC status.c
status.c: In function 'status_calc_speed':
status.c:5581:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
status.c:5652:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
speed_rate += val;
^~~~~~~~~~
status.c: In function 'status_change_start':
status.c:7499:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
status.c:7509:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
if (tick == 1) return 1; //Minimal duration: Only strip without causing the SC
^~
CC storage.c
CC trade.c
CC unit.c
CC vending.c
LD map-server