Jump to content

Keanu

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Keanu

  1. Hi there,

    I'm having an issue compiling the latest build on Ubuntu, full compile is below;

    rathena@roserver:/home/rathena# git pull
    Already up-to-date.
    rathena@roserver:/home/rathena# ./configure --enable-64bit --with-MYSQL_LIBS=/usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
    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 for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    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 supports -ffat-lto-objects... yes
    checking whether gcc supports -flto -fuse-linker-plugin... yes
    checking whether gcc supports -Wno-unused-parameter... yes
    checking whether gcc can actually use -Wno-unused-parameter... not needed but enabled
    checking whether gcc supports -Wempty-body... yes
    checking whether gcc supports -Wno-switch... yes
    checking whether gcc supports -Wno-missing-field-initializers... yes
    checking whether compiler is clang... no
    checking whether gcc supports -Wno-maybe-uninitialized... yes
    checking whether gcc supports -Wno-clobbered... yes
    checking whether gcc supports -Wshadow... yes
    checking whether gcc can efficiently use -Wshadow... yes
    checking whether gcc supports -fPIC... yes
    checking how to make shared objects... not supported
    configure: compiler is unable to generate shared objects, disabled plugins (optional)
    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 for xlocale.h... yes
    checking for library containing inflateEnd... -lz
    checking for zlib.h... yes
    checking for library containing sqrt... none required
    checking for library containing clock_gettime... none required
    checking whether CLOCK_MONOTONIC is supported and works... yes
    checking for library containing pthread_create... -lpthread
    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 for mysql_config... /usr/bin/mysql_config
    checking for mysql_init in -lmysqlclient... yes
    checking mysql.h usability... yes
    checking mysql.h presence... no
    configure: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!
    configure: WARNING: mysql.h: proceeding with the compiler's result
    checking for mysql.h... yes
    checking MySQL library (required)... yes (5.5.57)
    checking for library containing pcre_study... -lpcre
    checking PCRE library (optional)... yes (8.31)
    checking host OS... Linux
    checking for MinGW... no
    configure: Configure finish
    configure: CPPFLAGS=  -DMAXCONN=16384 -I../common -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN  -I/usr/include -DHAVE_MONOTONIC_CLOCK
    configure: CFLAGS= -flto -fuse-linker-plugin -g -O2 -pipe -ffast-math -Wall -Wempty-body -Wno-switch -Wno-missing-field-initializers -Wno-maybe-uninitialized -Wno-clobbered -Wshadow -fno-strict-aliasing
    configure: CFLAGS_AR= -flto -fuse-linker-plugin -ffat-lto-objects -flto -fuse-linker-plugin -g -O2 -pipe -ffast-math -Wall -Wempty-body -Wno-switch -Wno-missing-field-initializers -Wno-maybe-uninitialized -Wno-clobbered -Wshadow -fno-strict-aliasing
    configure: LDFLAGS=  -L/usr/lib
    configure: output name =  login-server, char-server, map-server
    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 3rdparty/yaml-cpp/Makefile
    config.status: creating src/char/Makefile
    config.status: creating src/login/Makefile
    config.status: creating src/map/Makefile
    config.status: creating src/tool/Makefile
    rathena@roserver:/home/rathena# make clean
    make[1]: Entering directory `/home/rathena/src/common'
            CLEAN   common
    make[1]: Leaving directory `/home/rathena/src/common'
    make[1]: Entering directory `/home/rathena/3rdparty/mt19937ar'
            CLEAN   mt19937ar
    make[1]: Leaving directory `/home/rathena/3rdparty/mt19937ar'
    make[1]: Entering directory `/home/rathena/3rdparty/libconfig'
            CLEAN   libconfig
    make[1]: Leaving directory `/home/rathena/3rdparty/libconfig'
    make[1]: Entering directory `/home/rathena/3rdparty/yaml-cpp'
            CLEAN   yaml-cpp
    make[1]: Leaving directory `/home/rathena/3rdparty/yaml-cpp'
    make[1]: Entering directory `/home/rathena/src/login'
            CLEAN   login
    make[1]: Leaving directory `/home/rathena/src/login'
    make[1]: Entering directory `/home/rathena/src/char'
            CLEAN   char
    make[1]: Leaving directory `/home/rathena/src/char'
    make[1]: Entering directory `/home/rathena/src/map'
            CLEAN   map
    make[1]: Leaving directory `/home/rathena/src/map'
    make[1]: Entering directory `/home/rathena/src/tool'
            CLEAN   tool
    make[1]: Leaving directory `/home/rathena/src/tool'
    rathena@roserver:/home/rathena# make server
    make[1]: Entering directory `/home/rathena/3rdparty/mt19937ar'
            CC      mt19937ar.c
    make[1]: Leaving directory `/home/rathena/3rdparty/mt19937ar'
    make[1]: Entering directory `/home/rathena/3rdparty/libconfig'
            MKDIR   obj
            CC      grammar.c
            CC      libconfig.c
            CC      scanctx.c
            CC      scanner.c
            CC      strbuf.c
            AR      obj/libconfig.a
    make[1]: Leaving directory `/home/rathena/3rdparty/libconfig'
    make[1]: Entering directory `/home/rathena/3rdparty/yaml-cpp'
            MKDIR   obj/src/contrib
            CXX     src/memory.cpp
    In file included from include/yaml-cpp/node/detail/node.h:14:0,
                     from src/memory.cpp:2:
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pData->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) { m_pData->set_type(type); }
                                           ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) { m_pData->set_tag(tag); }
                                            ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); }
                                                  ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) { m_pData->set_style(style); }
                                                 ^
    In file included from src/memory.cpp:2:0:
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pRef->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) {
                                           ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) {
                                                  ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)':
    include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) {
                                            ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) {
                                                 ^
            CXX     src/stream.cpp
            CXX     src/exp.cpp
            CXX     src/scanner.cpp
    src/scanner.cpp: In member function 'void YAML::Scanner::ThrowParserException(const string&) const':
    src/scanner.cpp:379:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = Mark::null_mark();
            ^
            CXX     src/parse.cpp
    In file included from include/yaml-cpp/node/detail/node.h:14:0,
                     from include/yaml-cpp/node/impl.h:13,
                     from src/parse.cpp:7:
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pData->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) { m_pData->set_type(type); }
                                           ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) { m_pData->set_tag(tag); }
                                            ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); }
                                                  ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) { m_pData->set_style(style); }
                                                 ^
    In file included from include/yaml-cpp/node/impl.h:13:0,
                     from src/parse.cpp:7:
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pRef->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) {
                                           ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) {
                                                  ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)':
    include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) {
                                            ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) {
                                                 ^
            CXX     src/node.cpp
            CXX     src/regex_yaml.cpp
            CXX     src/singledocparser.cpp
            CXX     src/node_data.cpp
    In file included from include/yaml-cpp/node/detail/node.h:14:0,
                     from src/node_data.cpp:7:
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pData->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) { m_pData->set_type(type); }
                                           ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) { m_pData->set_tag(tag); }
                                            ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); }
                                                  ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) { m_pData->set_style(style); }
                                                 ^
    In file included from src/node_data.cpp:7:0:
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pRef->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) {
                                           ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) {
                                                  ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)':
    include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) {
                                            ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) {
                                                 ^
    src/node_data.cpp: In member function 'void YAML::detail::node_data::set_mark(const YAML::Mark&)':
    src/node_data.cpp:31:42: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
     void node_data::set_mark(const Mark& mark) { m_mark = mark; }
                                              ^
    src/node_data.cpp: In member function 'void YAML::detail::node_data::set_type(YAML::NodeType::value)':
    src/node_data.cpp:33:46: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
     void node_data::set_type(NodeType::value type) {
                                                  ^
    src/node_data.cpp: In member function 'void YAML::detail::node_data::set_tag(const string&)':
    src/node_data.cpp:64:47: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
     void node_data::set_tag(const std::string& tag) { m_tag = tag; }
                                                   ^
    src/node_data.cpp: In member function 'void YAML::detail::node_data::set_style(YAML::EmitterStyle::value)':
    src/node_data.cpp:66:52: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
     void node_data::set_style(EmitterStyle::value style) { m_style = style; }
                                                        ^
    src/node_data.cpp: In member function 'void YAML::detail::node_data::set_scalar(const string&)':
    src/node_data.cpp:73:53: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
     void node_data::set_scalar(const std::string& scalar) {
                                                         ^
            CXX     src/emitter.cpp
            CXX     src/convert.cpp
    In file included from include/yaml-cpp/node/detail/node.h:14:0,
                     from include/yaml-cpp/node/impl.h:13,
                     from include/yaml-cpp/node/convert.h:18,
                     from src/convert.cpp:3:
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pData->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) { m_pData->set_type(type); }
                                           ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) { m_pData->set_tag(tag); }
                                            ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); }
                                                  ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) { m_pData->set_style(style); }
                                                 ^
    In file included from include/yaml-cpp/node/impl.h:13:0,
                     from include/yaml-cpp/node/convert.h:18,
                     from src/convert.cpp:3:
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pRef->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) {
                                           ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) {
                                                  ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)':
    include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) {
                                            ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) {
                                                 ^
            CXX     src/emitterutils.cpp
            CXX     src/contrib/graphbuilderadapter.cpp
            CXX     src/contrib/graphbuilder.cpp
            CXX     src/simplekey.cpp
            CXX     src/scantag.cpp
            CXX     src/nodeevents.cpp
    In file included from include/yaml-cpp/node/detail/node.h:14:0,
                     from src/nodeevents.cpp:4:
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pData->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) { m_pData->set_type(type); }
                                           ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) { m_pData->set_tag(tag); }
                                            ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); }
                                                  ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) { m_pData->set_style(style); }
                                                 ^
    In file included from src/nodeevents.cpp:4:0:
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pRef->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) {
                                           ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) {
                                                  ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)':
    include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) {
                                            ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) {
                                                 ^
            CXX     src/scanscalar.cpp
            CXX     src/parser.cpp
            CXX     src/emitfromevents.cpp
            CXX     src/tag.cpp
            CXX     src/ostream_wrapper.cpp
    src/ostream_wrapper.cpp: In member function 'void YAML::ostream_wrapper::write(const string&)':
    src/ostream_wrapper.cpp:21:51: warning: declaration of 'str' shadows a member of 'this' [-Wshadow]
     void ostream_wrapper::write(const std::string& str) {
                                                       ^
    src/ostream_wrapper.cpp: In member function 'void YAML::ostream_wrapper::write(const char*, std::size_t)':
    src/ostream_wrapper.cpp:34:62: warning: declaration of 'str' shadows a member of 'this' [-Wshadow]
     void ostream_wrapper::write(const char* str, std::size_t size) {
                                                                  ^
            CXX     src/scantoken.cpp
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanDocStart()':
    src/scantoken.cpp:68:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanDocEnd()':
    src/scantoken.cpp:81:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanFlowStart()':
    src/scantoken.cpp:94:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanFlowEnd()':
    src/scantoken.cpp:120:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanFlowEntry()':
    src/scantoken.cpp:147:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanBlockEntry()':
    src/scantoken.cpp:167:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanKey()':
    src/scantoken.cpp:186:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanValue()':
    src/scantoken.cpp:215:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanAnchorOrAlias()':
    src/scantoken.cpp:231:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanPlainScalar()':
    src/scantoken.cpp:314:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanQuotedScalar()':
    src/scantoken.cpp:355:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
    src/scantoken.cpp: In member function 'void YAML::Scanner::ScanBlockScalar()':
    src/scantoken.cpp:383:8: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       Mark mark = INPUT.mark();
            ^
            CXX     src/directives.cpp
            CXX     src/binary.cpp
            CXX     src/null.cpp
            CXX     src/exceptions.cpp
            CXX     src/emitterstate.cpp
            CXX     src/emit.cpp
            CXX     src/nodebuilder.cpp
    In file included from include/yaml-cpp/node/detail/node.h:14:0,
                     from src/nodebuilder.cpp:5:
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pData->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) { m_pData->set_type(type); }
                                           ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) { m_pData->set_tag(tag); }
                                            ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); }
                                                  ^
    include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) { m_pData->set_style(style); }
                                                 ^
    In file included from src/nodebuilder.cpp:5:0:
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)':
    include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pRef->set_mark(mark); }
                                       ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)':
    include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) {
                                           ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)':
    include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) {
                                                  ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)':
    include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) {
                                            ^
    include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)':
    include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) {
                                                 ^
            AR      obj/yaml-cpp.a
    make[1]: Leaving directory `/home/rathena/3rdparty/yaml-cpp'
    make[1]: Entering directory `/home/rathena/src/common'
            MKDIR   obj
            CXX     core.cpp
            CC      socket.c
            CC      timer.c
            CC      db.c
            CC      nullpo.c
            CC      malloc.c
            CC      showmsg.c
            CC      strlib.c
            CC      utils.c
            CC      grfio.c
            CC      mapindex.c
            CC      ers.c
            CC      md5calc.c
            CXX     core.cpp
            CC      socket.c
            CC      malloc.c
            CC      random.c
            CC      des.c
            CC      conf.c
            CC      thread.c
            CC      mutex.c
            CC      raconf.c
            CC      mempool.c
            CC      msg_conf.c
            CC      cli.c
            CC      sql.c
            CXX     yamlwrapper.cpp
    In file included from ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:14:0,
                     from ../../3rdparty/yaml-cpp/include/yaml-cpp/node/impl.h:13,
                     from ../../3rdparty/yaml-cpp/include/yaml-cpp/yaml.h:17,
                     from yamlwrapper.h:32,
                     from yamlwrapper.cpp:23:
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_mark(const YAML::Mark&)':
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h:33:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pData->set_mark(mark); }
                                       ^
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_type(YAML::NodeType::value)':
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h:34:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) { m_pData->set_type(type); }
                                           ^
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_tag(const string&)':
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h:35:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) { m_pData->set_tag(tag); }
                                            ^
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_scalar(const string&)':
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h:37:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) { m_pData->set_scalar(scalar); }
                                                  ^
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h: In member function 'void YAML::detail::node_ref::set_style(YAML::EmitterStyle::value)':
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h:38:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) { m_pData->set_style(style); }
                                                 ^
    In file included from ../../3rdparty/yaml-cpp/include/yaml-cpp/node/impl.h:13:0,
                     from ../../3rdparty/yaml-cpp/include/yaml-cpp/yaml.h:17,
                     from yamlwrapper.h:32,
                     from yamlwrapper.cpp:23:
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_mark(const YAML::Mark&)':
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:69:35: warning: declaration of 'mark' shadows a member of 'this' [-Wshadow]
       void set_mark(const Mark& mark) { m_pRef->set_mark(mark); }
                                       ^
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_type(YAML::NodeType::value)':
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:71:39: warning: declaration of 'type' shadows a member of 'this' [-Wshadow]
       void set_type(NodeType::value type) {
                                           ^
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_scalar(const string&)':
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:80:46: warning: declaration of 'scalar' shadows a member of 'this' [-Wshadow]
       void set_scalar(const std::string& scalar) {
                                                  ^
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_tag(const string&)':
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:84:40: warning: declaration of 'tag' shadows a member of 'this' [-Wshadow]
       void set_tag(const std::string& tag) {
                                            ^
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h: In member function 'void YAML::detail::node::set_style(YAML::EmitterStyle::value)':
    ../../3rdparty/yaml-cpp/include/yaml-cpp/node/detail/node.h:90:45: warning: declaration of 'style' shadows a member of 'this' [-Wshadow]
       void set_style(EmitterStyle::value style) {
                                                 ^
            AR      obj/common.a
    make[1]: Leaving directory `/home/rathena/src/common'
    make[1]: Entering directory `/home/rathena/src/login'
            MKDIR   obj
            CC      account.c
            CC      ipban.c
            CC      loginchrif.c
            CC      loginclif.c
            CC      logincnslif.c
            CC      loginlog.c
            CXX     login.cpp
            LD      login-server
    make[1]: Leaving directory `/home/rathena/src/login'
    make[1]: Entering directory `/home/rathena/src/char'
            MKDIR   obj
            CC      char_clif.c
            CC      char_cnslif.c
            CC      char_logif.c
            CC      char_mapif.c
            CC      int_achievement.c
            CC      int_auction.c
            CC      int_clan.c
            CC      int_elemental.c
            CC      int_guild.c
            CC      int_homun.c
            CC      int_mail.c
            CC      int_mercenary.c
            CC      int_party.c
            CC      int_pet.c
            CC      int_quest.c
            CXX     char.cpp
            CXX     int_storage.cpp
            CXX     inter.cpp
            LD      char-server
    make[1]: Leaving directory `/home/rathena/src/char'
    make[1]: Entering directory `/home/rathena/src/map'
            MKDIR   obj
            CC      achievement.c
            CC      atcommand.c
            CC      battle.c
            CC      battleground.c
            CC      buyingstore.c
            CC      cashshop.c
            CC      channel.c
            CC      chat.c
            CC      chrif.c
            CC      clan.c
            CC      date.c
            CC      duel.c
            CC      elemental.c
            CC      guild.c
            CC      homunculus.c
            CC      instance.c
            CC      intif.c
            CC      itemdb.c
            CC      log.c
            CC      mail.c
            CC      mapreg.c
            CC      mercenary.c
            CC      mob.c
            CC      npc.c
            CC      npc_chat.c
            CC      party.c
            CC      path.c
            CC      pc.c
            CC      pc_groups.c
            CC      pet.c
            CC      quest.c
            CC      searchstore.c
            CC      skill.c
            CC      status.c
    status.c: In function 'status_yaml_readdb_refine_sub':
    status.c:14239:3: error: 'for' loop initial declarations are only allowed in C99 mode
       for (yamlwrapper* type = yaml_iterator_first(it); yaml_iterator_has_next(it); type = yaml_iterator_next(it)) {
       ^
    status.c:14239:3: note: use option -std=c99 or -std=gnu99 to compile your code
    status.c:14273:3: error: 'for' loop initial declarations are only allowed in C99 mode
       for (yamlwrapper* level = yaml_iterator_first(it); yaml_iterator_has_next(it); level = yaml_iterator_next(it)) {
       ^
    status.c: In function 'status_yaml_readdb_refine':
    status.c:14323:2: error: 'for' loop initial declarations are only allowed in C99 mode
      for (int i = 0; i < ARRAYLENGTH(labels); i++) {
      ^
    make[1]: *** [obj/status.o] Error 1
    make[1]: Leaving directory `/home/rathena/src/map'
    make: *** [map] Error 2
    rathena@roserver:/home/rathena#

    Any help would be appreciated!

    Thanks in advance!
    -Keanu

×
×
  • Create New...