viewing paste gcc-6.1 mac herculesWS compile | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
    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
 
Viewed 916 times, submitted by Guest.