viewing paste Unknown #23353 | Text

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 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355
[root@localhost hercules]# git pull
remote: Counting objects: 73, done.
remote: Compressing objects: 100% (72/72), done.
remote: Total 73 (delta 30), reused 1 (delta 1), pack-reused 0
Unpacking objects: 100% (73/73), done.
From https://github.com/HerculesWS/Hercules
 + 9acebb6...5e61357 cppcheck-fixes -> origin/cppcheck-fixes  (forced update)
 + eef3534...a627891 deprecationwarning -> origin/deprecationwarning  (forced update)
   8748ee5..21f9923  master     -> origin/master
Updating 8748ee5..21f9923
Fast-forward
 doc/constants.md     |   25 +++++++++++++++++++++++++
 src/char/char.c      |   10 ++++++----
 src/common/mmo.h     |   10 ++++++----
 src/map/atcommand.c  |    4 ++--
 src/map/chrif.c      |    5 +++--
 src/map/guild.c      |   30 ++++++++++++++++--------------
 src/map/homunculus.c |   11 ++++++-----
 src/map/intif.c      |    2 +-
 src/map/mercenary.c  |   18 +++++++++++-------
 src/map/mob.c        |   12 +++++++-----
 src/map/party.c      |   27 ++++++++++++++++++---------
 src/map/script.c     |   10 +++++-----
 src/map/skill.c      |   42 +++++++++++++++++++++---------------------
 src/map/status.c     |   47 ++++++++++++++++++++++++-----------------------
 14 files changed, 151 insertions(+), 102 deletions(-)
[root@localhost hercules]# make clean
make[1]: Entering directory `/usr/local/hercules/src/common'
    CLEAN   common (build temp files)
    CLEAN   common
make[1]: Leaving directory `/usr/local/hercules/src/common'
make[1]: Entering directory `/usr/local/hercules/3rdparty/mt19937ar'
    CLEAN   mt19937ar (build temp files)
    CLEAN   mt19937ar
make[1]: Leaving directory `/usr/local/hercules/3rdparty/mt19937ar'
make[1]: Entering directory `/usr/local/hercules/3rdparty/libconfig'
    CLEAN   libconfig (build temp files)
    CLEAN   libconfig
make[1]: Leaving directory `/usr/local/hercules/3rdparty/libconfig'
make[1]: Entering directory `/usr/local/hercules/src/login'
    CLEAN   login (build temp files)
    CLEAN   login
make[1]: Leaving directory `/usr/local/hercules/src/login'
make[1]: Entering directory `/usr/local/hercules/src/char'
    CLEAN   char (build temp files)
    CLEAN   char
make[1]: Leaving directory `/usr/local/hercules/src/char'
make[1]: Entering directory `/usr/local/hercules/src/map'
    CLEAN   map (build temp files)
    CLEAN   map
make[1]: Leaving directory `/usr/local/hercules/src/map'
make[1]: Entering directory `/usr/local/hercules/src/plugins'
    CLEAN   plugins (build temp files)
    CLEAN   plugins
make[1]: Leaving directory `/usr/local/hercules/src/plugins'
make[1]: Entering directory `/usr/local/hercules/src/tool'
    CLEAN   tool (build temp files)
    CLEAN   tool
make[1]: Leaving directory `/usr/local/hercules/src/tool'
make[1]: Entering directory `/usr/local/hercules/src/test'
    CLEAN   test (build temp files)
    CLEAN   test
make[1]: Leaving directory `/usr/local/hercules/src/test'
make[1]: Entering directory `/usr/local/hercules/tools/HPMHookGen'
    CLEAN   HPMHookGen
make[1]: Leaving directory `/usr/local/hercules/tools/HPMHookGen'
[root@localhost hercules]# ./configure && make sql
checking for gcc... gcc
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 accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc produces 32bit code... no
checking whether gcc supports __thread specifier (TLS)... yes
checking whether gcc accepts -rdynamic... yes
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc can actually use -Wno-unused-parameter... yes
checking whether gcc supports -Wno-clobbered... yes
checking whether gcc supports -Wempty-body... yes
checking whether gcc supports -Wnewline-eof... no
checking whether gcc supports -Wint-conversion... no
checking whether gcc supports -Winit-self... yes
checking whether gcc supports -Wpointer-arith... yes
checking whether gcc supports -Wswitch-bool... no
checking whether gcc supports -Wenum-conversion... no
checking whether gcc supports -Wshorten-64-to-32... no
checking whether gcc supports -Wconstant-conversion... no
checking whether gcc supports -Wbool-conversion... no
checking whether gcc supports -Wformat-security... yes
checking whether gcc supports -Wformat... yes
checking whether gcc supports -Wformat-signedness... no
checking whether gcc supports -Wformat-y2k... yes
checking whether gcc supports -Wmissing-include-dirs... no
checking whether gcc supports -Wsuggest-attribute=noreturn... no
checking whether gcc supports -Wundef... yes
checking whether gcc supports -Wlogical-op... yes
checking whether gcc supports -Wnested-externs... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Woverlength-strings... yes
checking whether gcc supports -Wredundant-decls... yes
checking whether gcc supports -Wno-format-nonliteral... yes
checking whether gcc supports -Wno-switch... yes
checking whether gcc supports -Wno-missing-field-initializers... yes
checking whether gcc supports -Wshadow... yes
checking whether gcc can efficiently use -Wshadow... no
checking whether gcc supports -fPIC... yes
checking how to make shared objects... -shared yes
checking whether gcc needs -Wl,--no-undefined to check for undefined references in shared objects... yes
checking whether gcc 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... Linux
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... -lm
checking for library containing clock_gettime... -lrt
checking whether CLOCK_MONOTONIC is supported and works... yes
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/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 (5.1.73)
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... no
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
    MAKE    mt19937ar
make[1]: Entering directory `/usr/local/hercules/3rdparty/mt19937ar'
    CC  mt19937ar.c
make[1]: Leaving directory `/usr/local/hercules/3rdparty/mt19937ar'
    MAKE    libconfig
make[1]: Entering directory `/usr/local/hercules/3rdparty/libconfig'
    CC  libconfig.c
    CC  grammar.c
    CC  scanctx.c
    CC  scanner.c
    CC  strbuf.c
make[1]: Leaving directory `/usr/local/hercules/3rdparty/libconfig'
    MAKE    common_sql
make[1]: Entering directory `/usr/local/hercules/src/common'
    MKDIR   obj_all
    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
strlib.c: In function ‘strlib_normalize_name’:
strlib.c:193: warning: logical ‘&&’ with non-zero constant will always evaluate as true
strlib.c:203: warning: logical ‘&&’ with non-zero constant will always evaluate as true
strlib.c:210: warning: logical ‘&&’ with non-zero constant will always evaluate as true
strlib.c: In function ‘strlib_e_mail_check’:
strlib.c:314: warning: logical ‘&&’ with non-zero constant will always evaluate as true
strlib.c: In function ‘sv_escape_c’:
strlib.c:767: warning: logical ‘&&’ with non-zero constant will always evaluate as true
    CC  sysinfo.c
    CC  thread.c
    CC  timer.c
    CC  utils.c
    CC  console.c
    CC  core.c
    CC  memmgr.c
memmgr.c: In function ‘malloc_verify_ptr’:
memmgr.c:938: warning: logical ‘&&’ with non-zero constant will always evaluate as true
    CC  socket.c
    AR  obj_all/common.a
    MKDIR   obj_sql
    CC  sql.c
    AR  obj_sql/common_sql.a
    CC  console.c
    CC  core.c
    CC  memmgr.c
memmgr.c: In function ‘malloc_verify_ptr’:
memmgr.c:938: warning: logical ‘&&’ with non-zero constant will always evaluate as true
    CC  socket.c
    AR  obj_all/common_mini.a
make[1]: Leaving directory `/usr/local/hercules/src/common'
    MAKE    login_sql
make[1]: Entering directory `/usr/local/hercules/src/login'
    MKDIR   obj_sql
    CC  account_sql.c
    CC  HPMlogin.c
    CC  ipban_sql.c
    CC  login.c
    CC  loginlog_sql.c
    LD  login-server
make[1]: Leaving directory `/usr/local/hercules/src/login'
    MAKE    char_sql
make[1]: Entering directory `/usr/local/hercules/src/char'
    MKDIR   obj_sql
    CC  char.c
char.c: In function ‘char_check_char_name’:
char.c:1624: warning: logical ‘&&’ with non-zero constant will always evaluate as true
char.c:1630: warning: logical ‘&&’ with non-zero constant will always evaluate as true
    CC  HPMchar.c
    CC  loginif.c
    CC  mapif.c
    CC  geoip.c
    CC  inter.c
inter.c: In function ‘mapif_parse_NameChangeRequest’:
inter.c:1274: warning: logical ‘&&’ with non-zero constant will always evaluate as true
inter.c:1280: warning: logical ‘&&’ with non-zero constant will always evaluate as true
    CC  int_auction.c
    CC  int_elemental.c
    CC  int_guild.c
int_guild.c: In function ‘mapif_parse_CreateGuild’:
int_guild.c:1183: warning: logical ‘&&’ with non-zero constant will always evaluate as true
int_guild.c:1189: warning: logical ‘&&’ with non-zero constant will always evaluate as true
    CC  int_homun.c
int_homun.c: In function ‘mapif_homunculus_rename’:
int_homun.c:291: warning: logical ‘&&’ with non-zero constant will always evaluate as true
int_homun.c:297: warning: logical ‘&&’ with non-zero constant will always evaluate as true
    CC  int_mail.c
    CC  int_mercenary.c
    CC  int_party.c
int_party.c: In function ‘mapif_parse_CreateParty’:
int_party.c:495: warning: logical ‘&&’ with non-zero constant will always evaluate as true
int_party.c:508: warning: logical ‘&&’ with non-zero constant will always evaluate as true
    CC  int_pet.c
    CC  int_quest.c
    CC  int_storage.c
    CC  pincode.c
    LD  char-server
make[1]: Leaving directory `/usr/local/hercules/src/char'
    MAKE    map_sql
make[1]: Entering directory `/usr/local/hercules/src/map'
    MKDIR   obj_sql
    CC  atcommand.c
    CC  battle.c
    CC  battleground.c
    CC  buyingstore.c
    CC  channel.c
    CC  chat.c
    CC  chrif.c
    CC  clif.c
    CC  date.c
    CC  duel.c
    CC  elemental.c
    CC  guild.c
    CC  homunculus.c
    CC  HPMmap.c
    CC  instance.c
    CC  intif.c
    CC  irc-bot.c
    CC  itemdb.c
    CC  log.c
    CC  mail.c
    CC  map.c
    CC  mapreg_sql.c
    CC  mercenary.c
    CC  mob.c
    CC  npc.c
    CC  npc_chat.c
    CC  party.c
    CC  path.c
    CC  pc.c
pc.c: In function ‘pc_split_atoi’:
pc.c:10593: warning: logical ‘&&’ with non-zero constant will always evaluate as true
pc.c: In function ‘pc_split_atoui’:
pc.c:10621: warning: logical ‘&&’ with non-zero constant will always evaluate as true
    CC  pc_groups.c
    CC  pet.c
    CC  quest.c
    CC  script.c
    CC  searchstore.c
    CC  skill.c
    CC  status.c
    CC  storage.c
    CC  trade.c
    CC  unit.c
    CC  vending.c
    LD  map-server
make[1]: Leaving directory `/usr/local/hercules/src/map'
building conf/import folder...
[root@localhost hercules]# cat /etc/redhat-release 
CentOS release 6.7 (Final)
[root@localhost hercules]# gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
[root@localhost hercules]# uname -a
Linux localhost 2.6.32-573.7.1.el6.x86_64 #1 SMP Tue Sep 22 22:00:00 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Viewed 659 times, submitted by Guest.