+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/brutalchess.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: Macro expanded in comment on line 11: %{name}/files/%{name}-%{pre}/%{name}-%{pre}-%{version}/%{name}-%{pre}-%{version}-src.tar.gz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xwxs1p + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf brutalchess-0.5.2 + /usr/bin/xz -dc /builddir/build/SOURCES/brutalchess-alpha-0.5.2-nofonts.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd brutalchess-0.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (brutalchess-freetype2.patch):' Patch #0 (brutalchess-freetype2.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/fontloader.h + echo 'Patch #1 (brutalchess-fonts.diff):' Patch #1 (brutalchess-fonts.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am patching file configure.ac + echo 'Patch #2 (pgn-moveprint.diff):' Patch #2 (pgn-moveprint.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/chessgamestate.cpp + echo 'Patch #3 (fix-player2opt.diff):' Patch #3 (fix-player2opt.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/utils.cpp + echo 'Patch #10 (brutalchess-0.5.2-fix-FTBFS.patch):' Patch #10 (brutalchess-0.5.2-fix-FTBFS.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/md3view.cpp patching file src/objview.cpp + echo 'Patch #11 (brutalchess-0.5.2-gcc4.3.patch):' Patch #11 (brutalchess-0.5.2-gcc4.3.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/brutalplayer.cpp + echo 'Patch #12 (brutalchess-0.5.2-gcc4.7.patch):' Patch #12 (brutalchess-0.5.2-gcc4.7.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/faileplayer.cpp patching file src/xboardplayer.cpp + echo 'Patch #20 (brutalchess-noquake.patch):' Patch #20 (brutalchess-noquake.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/utils.cpp + doxygen -u warning: Tag `USE_WINDOWS_ENCODING' at line 64 of file `Doxyfile' has become obsolete. This tag has been removed. warning: Tag `DETAILS_AT_TOP' at line 156 of file `Doxyfile' has become obsolete. This tag has been removed. warning: Tag `SHOW_DIRECTORIES' at line 381 of file `Doxyfile' has become obsolete. This tag has been removed. warning: Tag `HTML_ALIGN_MEMBERS' at line 658 of file `Doxyfile' has become obsolete. This tag has been removed. warning: Tag `XML_SCHEMA' at line 890 of file `Doxyfile' has become obsolete. This tag has been removed. warning: Tag `XML_DTD' at line 896 of file `Doxyfile' has become obsolete. This tag has been removed. warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 1172 of file `Doxyfile' has become obsolete. This tag has been removed. warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 1180 of file `Doxyfile' has become obsolete. This tag has been removed. Configuration file `Doxyfile' updated. + sed -i s,fonts,, Makefile.in + sed -i 's,\(fontsdir=\).*,\1"\${datadir}/fonts/",' configure + sed -i s,ZEROES__.TTF,gnu-free/FreeSans.ttf, src/gamecore.cpp + sed -i 's/\r$//' NEWS README + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cQVRni + umask 022 + cd /builddir/build/BUILD + cd brutalchess-0.5.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 dependency style of gcc... none checking how to run the C preprocessor... gcc -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 for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for X... no checking for OpenGL... yes checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.7... yes checking for freetype-config... /usr/bin/freetype-config checking for FreeType -- version >= 7.0.1... yes checking for IMG_Load in -lSDL_image... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating art/Makefile config.status: creating fonts/Makefile config.status: creating models/Makefile config.status: creating src/config.h config.status: executing depfiles commands + make -j4 cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 Making all in src make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/src' cd .. && make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' cd .. && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run autoheader rm -f stamp-h1 touch config.h.in cd .. && /bin/sh ./config.status src/config.h config.status: creating src/config.h config.status: src/config.h is unchanged make all-am make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/src' cd .. && make am--refresh make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o basicset.o basicset.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o bitboard.o bitboard.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o board.o board.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o boardmove.o boardmove.cpp In file included from boardmove.h:17:0, from boardmove.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from boardmove.h:17:0, from board.h:17, from board.cpp:12: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from boardmove.h:17:0, from board.h:17, from bitboard.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ bitboard.cpp: In static member function 'static BitBoard BitBoard::maskDiagNE(const BoardPosition&)': bitboard.cpp:44:8: warning: statement has no effect [-Wunused-value] for (p; !p.outNE(); p.moveNE()) { ^ bitboard.cpp: In static member function 'static BitBoard BitBoard::maskDiagNW(const BoardPosition&)': bitboard.cpp:61:8: warning: statement has no effect [-Wunused-value] for (p; !p.outNW(); p.moveNW()) { ^ board.cpp: In member function 'std::vector Board::possibleMoves(Piece::Color, bool) const': board.cpp:389:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i < pos.size(); i++) { ~~^~~~~~~~~~~~ board.cpp:398:9: warning: enumeration value 'NOTYPE' not handled in switch [-Wswitch] switch(p->type()) { ^ board.cpp:503:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j < trialMoves.size(); j++) { ~~^~~~~~~~~~~~~~~~~~~ board.cpp: In member function 'int Board::getFileState(const BoardPosition&) const': board.cpp:526:23: warning: unused variable 'rank' [-Wunused-variable] unsigned char rank = bp.rank0(); ^~~~ In file included from boardmove.h:17:0, from board.h:17, from pieceset.h:12, from basicset.cpp:10: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from bitboard.cpp:9:0: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o boardposition.o boardposition.cpp In file included from piecesets.h:13:0, from pieceset.h:105, from basicset.cpp:10: q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel()': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:28:2: warning: when initialized here [-Wreorder] Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} ^~~~~~~~~~~ q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel(const string&, std::__cxx11::string)': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:29:2: warning: when initialized here [-Wreorder] Q3CharModel(const std::string& modeldir, ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o boardtheme.o boardtheme.cpp In file included from pieceset.h:12:0, from basicset.cpp:10: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ In file included from boardmove.h:17:0, from board.h:17, from boardposition.cpp:10: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from boardmove.h:17:0, from boardtheme.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from boardposition.cpp:10:0: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o brutalchess.o brutalchess.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o brutalplayer.o brutalplayer.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o chessgame.o chessgame.cpp In file included from brutalchess.cpp:26:0: fontloader.h:30:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4786) In file included from chessgamestate.h:16:0, from boardtheme.h:13, from boardtheme.cpp:10: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ In file included from boardmove.h:17:0, from board.h:17, from brutalplayer.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o chessgamestate.o chessgamestate.cpp In file included from boardmove.h:17:0, from board.h:17, from chessgame.h:12, from chessgame.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ brutalplayer.cpp: In member function 'int BrutalPlayer::search(Board, Piece::Color, int, int, int, BoardMove&)': brutalplayer.cpp:43:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i < moves.size(); i++) { ~~^~~~~~~~~~~~~~ brutalplayer.cpp: In member function 'int BrutalPlayer::evaluateBoard(const Board&, Piece::Color)': brutalplayer.cpp:91:19: warning: enumeration value 'NOTYPE' not handled in switch [-Wswitch] switch(p->type()) { ^ brutalplayer.cpp:136:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i < locations[Piece::QUEEN].size(); i++) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp:139:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i < locations[Piece::ROOK].size(); i++) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp:142:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i < locations[Piece::BISHOP].size(); i++) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp:145:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i < locations[Piece::KNIGHT].size(); i++) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp:148:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i < locations[Piece::PAWN].size(); i++) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp:151:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i < locations[Piece::KING].size(); i++) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp: In member function 'int BrutalPlayer::knightBonus(const BoardPosition&, const Board&, Piece::Color, bool)': brutalplayer.cpp:206:7: warning: unused variable 'drivenBonus' [-Wunused-variable] bool drivenBonus = false; ^~~~~~~~~~~ brutalplayer.cpp: In member function 'int BrutalPlayer::numAttackedSquares(const long long unsigned int&)': brutalplayer.cpp:260:28: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] if (pieceAttacks && (1LL << i)) { ~~~~~^~~~~ In file included from chessgame.cpp:11:0: menu.h: In constructor 'Menu::Menu()': menu.h:148:8: warning: 'Menu::m_state' will be initialized after [-Wreorder] State m_state; ^~~~~~~ menu.h:145:8: warning: 'float Menu::m_width' [-Wreorder] float m_width; ^~~~~~~ menu.h:29:2: warning: when initialized here [-Wreorder] Menu() : ^~~~ menu.h:145:8: warning: 'Menu::m_width' will be initialized after [-Wreorder] float m_width; ^~~~~~~ menu.h:143:8: warning: 'float Menu::m_xoffset' [-Wreorder] float m_xoffset; ^~~~~~~~~ menu.h:29:2: warning: when initialized here [-Wreorder] Menu() : ^~~~ In file included from boardmove.h:17:0, from board.h:17, from chessgamestate.h:16, from boardtheme.h:13, from brutalchess.cpp:22: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from gamecore.h:14:0, from brutalchess.cpp:27: menu.h: In constructor 'Menu::Menu()': menu.h:148:8: warning: 'Menu::m_state' will be initialized after [-Wreorder] State m_state; ^~~~~~~ menu.h:145:8: warning: 'float Menu::m_width' [-Wreorder] float m_width; ^~~~~~~ menu.h:29:2: warning: when initialized here [-Wreorder] Menu() : ^~~~ menu.h:145:8: warning: 'Menu::m_width' will be initialized after [-Wreorder] float m_width; ^~~~~~~ menu.h:143:8: warning: 'float Menu::m_xoffset' [-Wreorder] float m_xoffset; ^~~~~~~~~ menu.h:29:2: warning: when initialized here [-Wreorder] Menu() : ^~~~ In file included from piecesets.h:13:0, from pieceset.h:105, from gamecore.h:16, from brutalchess.cpp:27: q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel()': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:28:2: warning: when initialized here [-Wreorder] Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} ^~~~~~~~~~~ q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel(const string&, std::__cxx11::string)': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:29:2: warning: when initialized here [-Wreorder] Q3CharModel(const std::string& modeldir, ^~~~~~~~~~~ In file included from brutalchess.cpp:27:0: gamecore.h: In constructor 'GameCore::GameCore()': gamecore.h:153:29: warning: 'GameCore::m_preloaded' will be initialized after [-Wreorder] bool m_loaded, m_glloaded, m_preloaded; ^~~~~~~~~~~ gamecore.h:153:17: warning: 'bool GameCore::m_glloaded' [-Wreorder] bool m_loaded, m_glloaded, m_preloaded; ^~~~~~~~~~ gamecore.h:100:2: warning: when initialized here [-Wreorder] GameCore() : ^~~~~~~~ gamecore.h:153:17: warning: 'GameCore::m_glloaded' will be initialized after [-Wreorder] bool m_loaded, m_glloaded, m_preloaded; ^~~~~~~~~~ gamecore.h:143:6: warning: 'int GameCore::m_mousex' [-Wreorder] int m_mousex, m_mousey; ^~~~~~~~ gamecore.h:100:2: warning: when initialized here [-Wreorder] GameCore() : ^~~~~~~~ gamecore.h:146:16: warning: 'GameCore::m_mousepos' will be initialized after [-Wreorder] BoardPosition m_mousepos; ^~~~~~~~~~ gamecore.h:122:15: warning: 'SDL_Thread* GameCore::m_thinkthread' [-Wreorder] SDL_Thread * m_thinkthread; ^~~~~~~~~~~~~ gamecore.h:100:2: warning: when initialized here [-Wreorder] GameCore() : ^~~~~~~~ gamecore.h:154:7: warning: 'GameCore::m_rotate' will be initialized after [-Wreorder] bool m_rotate; ^~~~~~~~ gamecore.h:144:20: warning: 'double GameCore::m_rotatex' [-Wreorder] double m_rotatey, m_rotatex; ^~~~~~~~~ gamecore.h:100:2: warning: when initialized here [-Wreorder] GameCore() : ^~~~~~~~ gamecore.h:144:20: warning: 'GameCore::m_rotatex' will be initialized after [-Wreorder] double m_rotatey, m_rotatex; ^~~~~~~~~ gamecore.h:144:9: warning: 'double GameCore::m_rotatey' [-Wreorder] double m_rotatey, m_rotatex; ^~~~~~~~~ gamecore.h:100:2: warning: when initialized here [-Wreorder] GameCore() : ^~~~~~~~ In file included from chessgame.h:12:0, from chessgame.cpp:9: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ brutalchess.cpp: In function 'bool drawGLScene(GameCore*)': brutalchess.cpp:118:9: warning: unused variable 'fps' [-Wunused-variable] float fps = Frames / sec; ^~~ brutalchess.cpp: In function 'int main(int, char**)': brutalchess.cpp:173:7: warning: unused variable 'isActive' [-Wunused-variable] bool isActive = true; ^~~~~~~~ In file included from brutalplayer.cpp:9:0: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ In file included from boardmove.h:17:0, from board.h:17, from chessgamestate.h:16, from chessgamestate.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ chessgamestate.cpp: In member function 'void ChessGameState::update(const BoardMove&)': chessgamestate.cpp:140:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i == m_threefold_count.size()) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o chessplayer.o chessplayer.cpp In file included from chessgamestate.h:16:0, from chessgamestate.cpp:9: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o debugset.o debugset.cpp In file included from chessgamestate.h:16:0, from boardtheme.h:13, from brutalchess.cpp:22: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o faileplayer.o faileplayer.cpp In file included from boardmove.h:17:0, from chessplayer.h:12, from chessplayer.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o fontloader.o fontloader.cpp In file included from chessgamestate.h:16:0, from chessplayer.h:13, from chessplayer.cpp:9: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ In file included from boardmove.h:17:0, from board.h:17, from pieceset.h:12, from debugset.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o gamecore.o gamecore.cpp In file included from fontloader.cpp:9:0: fontloader.h:30:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4786) In file included from boardmove.h:17:0, from board.h:17, from faileplayer.cpp:10: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from piecesets.h:13:0, from pieceset.h:105, from debugset.cpp:9: q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel()': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:28:2: warning: when initialized here [-Wreorder] Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} ^~~~~~~~~~~ q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel(const string&, std::__cxx11::string)': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:29:2: warning: when initialized here [-Wreorder] Q3CharModel(const std::string& modeldir, ^~~~~~~~~~~ faileplayer.cpp: In member function 'void FailePlayer::runChessEngine()': faileplayer.cpp:60:27: warning: null argument where non-null required (argument 2) [-Wnonnull] execvp( "./faile", NULL ); ^ In file included from gamecore.cpp:13:0: fontloader.h:30:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4786) faileplayer.cpp: In destructor 'FailePlayer::~FailePlayer()': faileplayer.cpp:28:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(m_to[1], "exit\n", 5); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ faileplayer.cpp: In member function 'virtual void FailePlayer::startGame()': faileplayer.cpp:43:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(m_to[1], "go\n", 3); ~~~~~^~~~~~~~~~~~~~~~~~~~ faileplayer.cpp: In member function 'void FailePlayer::runChessEngine()': faileplayer.cpp:49:6: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result [-Wunused-result] pipe( m_to ); ~~~~^~~~~~~~ faileplayer.cpp:50:6: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result [-Wunused-result] pipe( m_from ); ~~~~^~~~~~~~~~ faileplayer.cpp:54:7: warning: ignoring return value of 'int nice(int)', declared with attribute warn_unused_result [-Wunused-result] nice( 20 ); ~~~~^~~~~~ faileplayer.cpp:63:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write( m_to[1], "xboard\n", 7); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ faileplayer.cpp: In member function 'virtual void FailePlayer::opponentMove(const BoardMove&, const ChessGameState&)': faileplayer.cpp:132:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write( m_to[1], movestr.c_str(), 5); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faileplayer.cpp: In member function 'virtual void FailePlayer::undoMove()': faileplayer.cpp:138:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(m_to[1], undo.c_str(), 5); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from faileplayer.cpp:10:0: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ In file included from pieceset.h:12:0, from debugset.cpp:9: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o granitetheme.o granitetheme.cpp fontloader.cpp: In function 'bool make_dlist(FT_Face, char, GLuint, GLuint*)': fontloader.cpp:128:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (i>=bitmap.width || j>=bitmap.rows) ? ~^~~~~~~~~~~~~~ fontloader.cpp:128:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (i>=bitmap.width || j>=bitmap.rows) ? ~^~~~~~~~~~~~~ fontloader.cpp:135:46: warning: array subscript has type 'char' [-Wchar-subscripts] glBindTexture( GL_TEXTURE_2D, tex_base[ch]); ^ fontloader.cpp:151:41: warning: array subscript has type 'char' [-Wchar-subscripts] glBindTexture(GL_TEXTURE_2D,tex_base[ch]); ^ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o humanplayer.o humanplayer.cpp In file included from boardmove.h:17:0, from board.h:17, from chessgamestate.h:16, from boardtheme.h:13, from gamecore.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from gamecore.h:14:0, from gamecore.cpp:14: menu.h: In constructor 'Menu::Menu()': menu.h:148:8: warning: 'Menu::m_state' will be initialized after [-Wreorder] State m_state; ^~~~~~~ menu.h:145:8: warning: 'float Menu::m_width' [-Wreorder] float m_width; ^~~~~~~ menu.h:29:2: warning: when initialized here [-Wreorder] Menu() : ^~~~ menu.h:145:8: warning: 'Menu::m_width' will be initialized after [-Wreorder] float m_width; ^~~~~~~ menu.h:143:8: warning: 'float Menu::m_xoffset' [-Wreorder] float m_xoffset; ^~~~~~~~~ menu.h:29:2: warning: when initialized here [-Wreorder] Menu() : ^~~~ In file included from piecesets.h:13:0, from pieceset.h:105, from gamecore.h:16, from gamecore.cpp:14: q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel()': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:28:2: warning: when initialized here [-Wreorder] Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} ^~~~~~~~~~~ q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel(const string&, std::__cxx11::string)': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:29:2: warning: when initialized here [-Wreorder] Q3CharModel(const std::string& modeldir, ^~~~~~~~~~~ In file included from gamecore.cpp:14:0: gamecore.h: In constructor 'GameCore::GameCore()': gamecore.h:153:29: warning: 'GameCore::m_preloaded' will be initialized after [-Wreorder] bool m_loaded, m_glloaded, m_preloaded; ^~~~~~~~~~~ gamecore.h:153:17: warning: 'bool GameCore::m_glloaded' [-Wreorder] bool m_loaded, m_glloaded, m_preloaded; ^~~~~~~~~~ gamecore.h:100:2: warning: when initialized here [-Wreorder] GameCore() : ^~~~~~~~ gamecore.h:153:17: warning: 'GameCore::m_glloaded' will be initialized after [-Wreorder] bool m_loaded, m_glloaded, m_preloaded; ^~~~~~~~~~ gamecore.h:143:6: warning: 'int GameCore::m_mousex' [-Wreorder] int m_mousex, m_mousey; ^~~~~~~~ gamecore.h:100:2: warning: when initialized here [-Wreorder] GameCore() : ^~~~~~~~ gamecore.h:146:16: warning: 'GameCore::m_mousepos' will be initialized after [-Wreorder] BoardPosition m_mousepos; ^~~~~~~~~~ gamecore.h:122:15: warning: 'SDL_Thread* GameCore::m_thinkthread' [-Wreorder] SDL_Thread * m_thinkthread; ^~~~~~~~~~~~~ gamecore.h:100:2: warning: when initialized here [-Wreorder] GameCore() : ^~~~~~~~ gamecore.h:154:7: warning: 'GameCore::m_rotate' will be initialized after [-Wreorder] bool m_rotate; ^~~~~~~~ gamecore.h:144:20: warning: 'double GameCore::m_rotatex' [-Wreorder] double m_rotatey, m_rotatex; ^~~~~~~~~ gamecore.h:100:2: warning: when initialized here [-Wreorder] GameCore() : ^~~~~~~~ gamecore.h:144:20: warning: 'GameCore::m_rotatex' will be initialized after [-Wreorder] double m_rotatey, m_rotatex; ^~~~~~~~~ gamecore.h:144:9: warning: 'double GameCore::m_rotatey' [-Wreorder] double m_rotatey, m_rotatex; ^~~~~~~~~ gamecore.h:100:2: warning: when initialized here [-Wreorder] GameCore() : ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o md3model.o md3model.cpp gamecore.cpp: In member function 'void GameCore::destroy()': gamecore.cpp:51:9: warning: deleting object of abstract class type 'BoardTheme' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete m_theme; ^~~~~~~ gamecore.cpp:53:9: warning: deleting object of abstract class type 'PieceSet' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete m_set; ^~~~~ gamecore.cpp:54:2: warning: statement has no effect [-Wunused-value] m_set; ^~~~~ gamecore.cpp: In member function 'void GameCore::draw()': gamecore.cpp:132:11: warning: variable 'light_position' set but not used [-Wunused-but-set-variable] GLfloat light_position[4]; ^~~~~~~~~~~~~~ In file included from boardmove.h:17:0, from humanplayer.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from boardmove.h:17:0, from board.h:17, from chessgamestate.h:16, from boardtheme.h:13, from granitetheme.cpp:12: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from chessgamestate.h:16:0, from boardtheme.h:13, from granitetheme.cpp:12: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ In file included from chessgamestate.h:16:0, from chessplayer.h:13, from humanplayer.cpp:10: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o menu.o menu.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o menuitem.o menuitem.cpp In file included from menu.cpp:9:0: fontloader.h:30:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4786) In file included from chessgamestate.h:16:0, from boardtheme.h:13, from gamecore.cpp:9: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ In file included from menuitem.cpp:9:0: fontloader.h:30:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4786) md3model.cpp: In member function 'void MD3Model::draw()': md3model.cpp:186:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < m_meshes[j].triangles.size(); i++) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md3model.cpp:218:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int l = 0; l < m_links.size(); l++) { ~~^~~~~~~~~~~~~~~~ md3model.cpp:179:8: warning: unused variable 'pi' [-Wunused-variable] float pi = 3.1415; ^~ In file included from menu.cpp:10:0: menu.h: In constructor 'Menu::Menu()': menu.h:148:8: warning: 'Menu::m_state' will be initialized after [-Wreorder] State m_state; ^~~~~~~ menu.h:145:8: warning: 'float Menu::m_width' [-Wreorder] float m_width; ^~~~~~~ menu.h:29:2: warning: when initialized here [-Wreorder] Menu() : ^~~~ menu.h:145:8: warning: 'Menu::m_width' will be initialized after [-Wreorder] float m_width; ^~~~~~~ menu.h:143:8: warning: 'float Menu::m_xoffset' [-Wreorder] float m_xoffset; ^~~~~~~~~ menu.h:29:2: warning: when initialized here [-Wreorder] Menu() : ^~~~ In file included from menuitem.cpp:10:0: menu.h: In constructor 'Menu::Menu()': menu.h:148:8: warning: 'Menu::m_state' will be initialized after [-Wreorder] State m_state; ^~~~~~~ menu.h:145:8: warning: 'float Menu::m_width' [-Wreorder] float m_width; ^~~~~~~ menu.h:29:2: warning: when initialized here [-Wreorder] Menu() : ^~~~ menu.h:145:8: warning: 'Menu::m_width' will be initialized after [-Wreorder] float m_width; ^~~~~~~ menu.h:143:8: warning: 'float Menu::m_xoffset' [-Wreorder] float m_xoffset; ^~~~~~~~~ menu.h:29:2: warning: when initialized here [-Wreorder] Menu() : ^~~~ menuitem.cpp: In member function 'virtual void MenuItem::draw(float)': menuitem.cpp:35:12: warning: variable 'dist' set but not used [-Wunused-but-set-variable] double dist; ^~~~ menuitem.cpp:78:17: warning: 'scale' may be used uninitialized in this function [-Wmaybe-uninitialized] glScaled(1/scale, 1/scale, 0.0); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o objfile.o objfile.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o options.o options.cpp objfile.cpp: In member function 'bool ObjFile::load(std::__cxx11::string)': objfile.cpp:95:11: warning: unused variable 'junk' [-Wunused-variable] double junk; ^~~~ objfile.cpp:123:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( slash != string::npos ) ~~~~~~^~~~~~~~~ objfile.cpp:130:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while( slash != string::npos ) { ~~~~~~^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o piece.o piece.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o pieceset.o pieceset.cpp In file included from piece.cpp:9:0: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o q3charmodel.o q3charmodel.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o q3set.o q3set.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o randomplayer.o randomplayer.cpp In file included from boardmove.h:17:0, from board.h:17, from pieceset.h:12, from pieceset.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from piecesets.h:13:0, from pieceset.h:105, from pieceset.cpp:9: q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel()': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:28:2: warning: when initialized here [-Wreorder] Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} ^~~~~~~~~~~ q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel(const string&, std::__cxx11::string)': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:29:2: warning: when initialized here [-Wreorder] Q3CharModel(const std::string& modeldir, ^~~~~~~~~~~ In file included from pieceset.h:12:0, from pieceset.cpp:9: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ In file included from boardmove.h:17:0, from board.h:17, from pieceset.h:12, from q3set.cpp:9: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ In file included from boardmove.h:17:0, from board.h:17, from randomplayer.cpp:11: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o texture.o texture.cpp In file included from q3charmodel.cpp:9:0: q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel()': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:28:2: warning: when initialized here [-Wreorder] Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} ^~~~~~~~~~~ q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel(const string&, std::__cxx11::string)': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:29:2: warning: when initialized here [-Wreorder] Q3CharModel(const std::string& modeldir, ^~~~~~~~~~~ q3charmodel.cpp: In member function 'Q3CharModel::Q3AnimState Q3CharModel::getLowerAnimation(const string&)': q3charmodel.cpp:95:35: warning: variable 'pi' set but not used [-Wunused-but-set-variable] str_to_param_map::const_iterator pi = m_upper_anim.find(anim_name); ^~ q3charmodel.cpp: In member function 'Q3CharModel::Q3AnimState Q3CharModel::getUpperAnimation(const string&)': q3charmodel.cpp:112:35: warning: variable 'pi' set but not used [-Wunused-but-set-variable] str_to_param_map::const_iterator pi = m_lower_anim.find(anim_name); ^~ In file included from piecesets.h:13:0, from pieceset.h:105, from q3set.cpp:9: q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel()': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:28:2: warning: when initialized here [-Wreorder] Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} ^~~~~~~~~~~ q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel(const string&, std::__cxx11::string)': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:29:2: warning: when initialized here [-Wreorder] Q3CharModel(const std::string& modeldir, ^~~~~~~~~~~ In file included from randomplayer.cpp:11:0: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o timer.o timer.cpp In file included from pieceset.h:12:0, from q3set.cpp:9: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o utils.o utils.cpp texture.cpp: In member function 'bool Texture::load(const string&)': texture.cpp:57:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( nearestPow2( m_img->w ) != m_img->w ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ texture.cpp:58:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] || nearestPow2( m_img->h ) != m_img->h ) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o vector.o vector.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o xboardplayer.o xboardplayer.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o md3view.o md3view.cpp In file included from boardmove.h:17:0, from board.h:17, from chessgamestate.h:16, from boardtheme.h:13, from utils.h:12, from utils.cpp:14: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o objview.o objview.cpp In file included from piecesets.h:13:0, from pieceset.h:105, from utils.h:14, from utils.cpp:14: q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel()': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:28:2: warning: when initialized here [-Wreorder] Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} ^~~~~~~~~~~ q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel(const string&, std::__cxx11::string)': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:29:2: warning: when initialized here [-Wreorder] Q3CharModel(const std::string& modeldir, ^~~~~~~~~~~ utils.cpp: In function 'void parseCommandLine(int, char**)': utils.cpp:60:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i < args.size(); i++) { ~~^~~~~~~~~~~~~ In file included from boardmove.h:17:0, from board.h:17, from xboardplayer.cpp:10: piece.h: In constructor 'Piece::Piece(Piece::Color, Piece::Type)': piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder] Color m_color; ^~~~~~~ piece.h:60:7: warning: 'Piece::Type Piece::m_type' [-Wreorder] Type m_type; ^~~~~~ piece.h:36:2: warning: when initialized here [-Wreorder] Piece(Color col, Type typ) : m_color(col), m_type(typ) {} ^~~~~ utils.cpp:220:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=1; j < args[i].size(); j++) { ~~^~~~~~~~~~~~~~~~ utils.cpp: In function 'int numParams(const std::vector >&, int)': utils.cpp:283:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i+1 < args.size() && args[i+1][0] != '-') { ~~~~^~~~~~~~~~~~~ xboardplayer.cpp: In member function 'void XboardPlayer::runChessEngine()': xboardplayer.cpp:61:28: warning: null argument where non-null required (argument 2) [-Wnonnull] execvp( "gnuchess", NULL ); ^ xboardplayer.cpp: In member function 'virtual void XboardPlayer::opponentMove(const BoardMove&, const ChessGameState&)': xboardplayer.cpp:114:10: warning: unused variable 'piece' [-Wunused-variable] Piece * piece = board.getPiece(move.dest()); ^~~~~ xboardplayer.cpp: In destructor 'XboardPlayer::~XboardPlayer()': xboardplayer.cpp:29:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(m_to[1], "quit\n", 5); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ xboardplayer.cpp: In member function 'virtual void XboardPlayer::startGame()': xboardplayer.cpp:44:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(m_to[1], "go\n", 3); ~~~~~^~~~~~~~~~~~~~~~~~~~ xboardplayer.cpp: In member function 'void XboardPlayer::runChessEngine()': xboardplayer.cpp:50:6: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result [-Wunused-result] pipe( m_to ); ~~~~^~~~~~~~ xboardplayer.cpp:51:6: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result [-Wunused-result] pipe( m_from ); ~~~~^~~~~~~~~~ xboardplayer.cpp:55:7: warning: ignoring return value of 'int nice(int)', declared with attribute warn_unused_result [-Wunused-result] nice( 20 ); ~~~~^~~~~~ xboardplayer.cpp:64:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write( m_to[1], "xboard\n", 7); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ xboardplayer.cpp: In member function 'virtual void XboardPlayer::opponentMove(const BoardMove&, const ChessGameState&)': xboardplayer.cpp:130:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write( m_to[1], movestr.c_str(), characters); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xboardplayer.cpp: In member function 'virtual void XboardPlayer::undoMove()': xboardplayer.cpp:136:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(m_to[1], undo.c_str(), 5); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from xboardplayer.cpp:10:0: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ In file included from md3view.cpp:30:0: q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel()': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:28:2: warning: when initialized here [-Wreorder] Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} ^~~~~~~~~~~ q3charmodel.h: In constructor 'Q3CharModel::Q3CharModel(const string&, std::__cxx11::string)': q3charmodel.h:69:20: warning: 'Q3CharModel::m_lowerframe' will be initialized after [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:69:6: warning: 'int Q3CharModel::m_upperframe' [-Wreorder] int m_upperframe, m_lowerframe; ^~~~~~~~~~~~ q3charmodel.h:29:2: warning: when initialized here [-Wreorder] Q3CharModel(const std::string& modeldir, ^~~~~~~~~~~ md3view.cpp: In function 'int drawGLScene(Q3CharModel*, Q3CharModel::Q3AnimState, Q3CharModel::Q3AnimState)': md3view.cpp:165:13: warning: unused variable 'startTime' [-Wunused-variable] static int startTime = SDL_GetTicks(); ^~~~~~~~~ md3view.cpp:166:13: warning: unused variable 'start' [-Wunused-variable] static int start = SDL_GetTicks(); ^~~~~ md3view.cpp: In function 'int main(int, char**)': md3view.cpp:395:6: warning: unused variable 'frameCount' [-Wunused-variable] int frameCount = 0; ^~~~~~~~~~ utils.cpp: In function 'BoardTheme* toBoard(BoardType)': utils.cpp:246:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ utils.cpp: In function 'ChessPlayer* toPlayer(PlayerType)': utils.cpp:267:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ utils.cpp: In function 'PieceSet* toPieces(PiecesType)': utils.cpp:278:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from chessgamestate.h:16:0, from boardtheme.h:13, from utils.h:12, from utils.cpp:14: board.h: At global scope: board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable] static int pow2[8]; ^~~~ objview.cpp: In function 'int drawGLScene()': objview.cpp:166:13: warning: unused variable 'startTime' [-Wunused-variable] static int startTime = SDL_GetTicks(); ^~~~~~~~~ objview.cpp:167:13: warning: unused variable 'start' [-Wunused-variable] static int start = SDL_GetTicks(); ^~~~~ objview.cpp: In function 'int main(int, char**)': objview.cpp:409:6: warning: unused variable 'frameCount' [-Wunused-variable] int frameCount = 0; ^~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o objview objfile.o objview.o texture.o vector.o -lGLU -lGL -lSDL -lpthread -lfreetype -lSDL_image g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o md3view md3model.o md3view.o q3charmodel.o texture.o vector.o -lGLU -lGL -lSDL -lpthread -lfreetype -lSDL_image g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o brutalchess basicset.o bitboard.o board.o boardmove.o boardposition.o boardtheme.o brutalchess.o brutalplayer.o chessgame.o chessgamestate.o chessplayer.o debugset.o faileplayer.o fontloader.o gamecore.o granitetheme.o humanplayer.o md3model.o menu.o menuitem.o objfile.o options.o piece.o pieceset.o q3charmodel.o q3set.o randomplayer.o texture.o timer.o utils.o vector.o xboardplayer.o -lGLU -lGL -lSDL -lpthread -lfreetype -lSDL_image make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/src' make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/src' Making all in art make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/art' cd .. && make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/art' Making all in models make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/models' cd .. && make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/models' make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' + doxygen sh: dot: command not found error: Problems running dot: exit code=127, command='dot', arguments='"/builddir/build/BUILD/brutalchess-0.5.2/doc/html/graph_legend.dot" -Tpng -o "/builddir/build/BUILD/brutalchess-0.5.2/doc/html/graph_legend.png"' Notice: Output directory `doc' does not exist. I have created it for you. Searching for include files... Searching for example files... Searching for images... Searching for dot files... Searching for msc files... Searching for dia files... Searching for files to exclude Searching INPUT for files to process... Searching for files in directory /builddir/build/BUILD/brutalchess-0.5.2 Reading and parsing tag files Parsing files Preprocessing /builddir/build/BUILD/brutalchess-0.5.2/resource.h... Parsing file /builddir/build/BUILD/brutalchess-0.5.2/resource.h... Building group list... Building directory list... Building namespace list... Building file list... Building class list... Associating documentation with classes... Computing nesting relations for classes... Building example list... Searching for enumerations... Searching for documented typedefs... Searching for members imported via using declarations... Searching for included using directives... Searching for documented variables... Building interface member list... Building member list... Searching for friends... Searching for documented defines... Computing class inheritance relations... Computing class usage relations... Flushing cached template relations that have become invalid... Computing class relations... Add enum values to enums... Searching for member function documentation... Creating members for template instances... Building page list... Search for main page... Computing page relations... Determining the scope of groups... Sorting lists... Freeing entry tree Determining which enums are documented Computing member relations... Building full member lists recursively... Adding members to member groups. Computing member references... Inheriting documentation... Generating disk names... Adding source references... Adding xrefitems... Sorting member lists... Computing dependencies between directories... Generating citations page... Counting data structures... Resolving user defined references... Finding anchors and sections in the documentation... Transferring function references... Combining using relations... Adding members to index pages... Generating style sheet... Generating search indices... Generating example documentation... Generating file sources... Generating code for file resource.h... Generating file documentation... Generating page documentation... Generating group documentation... Generating class documentation... Generating namespace index... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating module index... Generating namespace index... Generating namespace member index... Generating annotated compound index... Generating alphabetical compound index... Generating hierarchical class index... Generating graphical class hierarchy... Generating member index... Generating file index... Generating file member index... Generating example index... finalizing index lists... writing tag file... Running dot... Running dot for graph 1/1 lookup cache used 0/65536 hits=0 misses=0 finished... + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6oeAhl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64 + cd brutalchess-0.5.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64 'INSTALL=/usr/bin/install -p' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 Making install in src make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/src' cd .. && /usr/bin/make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/src' cd .. && /usr/bin/make am--refresh make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' test -z "/usr/bin" || mkdir -p -- . "/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/bin" /usr/bin/install -p 'brutalchess' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/bin/brutalchess' test -z "/usr/libexec" || mkdir -p -- . "/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/libexec" /usr/bin/install -p 'md3view' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/libexec/md3view' /usr/bin/install -p 'objview' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/libexec/objview' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/src' make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/src' Making install in art make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/art' cd .. && /usr/bin/make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/art' cd .. && /usr/bin/make am--refresh make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/brutalchess/art" || mkdir -p -- . "/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/art" /usr/bin/install -p -m 644 'brutalchesslogo.png' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/art/brutalchesslogo.png' /usr/bin/install -p -m 644 'marblehugeblack.png' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/art/marblehugeblack.png' /usr/bin/install -p -m 644 'marblehugewhite.png' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/art/marblehugewhite.png' make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/art' make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/art' Making install in models make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/models' cd .. && /usr/bin/make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/models' cd .. && /usr/bin/make am--refresh make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/brutalchess/models" || mkdir -p -- . "/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/models" /usr/bin/install -p -m 644 'bishop.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/models/bishop.obj' /usr/bin/install -p -m 644 'debug.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/models/debug.obj' /usr/bin/install -p -m 644 'knight.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/models/knight.obj' /usr/bin/install -p -m 644 'pawn.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/models/pawn.obj' /usr/bin/install -p -m 644 'rook.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/models/rook.obj' /usr/bin/install -p -m 644 'king.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/models/king.obj' /usr/bin/install -p -m 644 'queen.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/models/queen.obj' make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/models' make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/models' make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/brutalchess/doc" || mkdir -p -- . "/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc" /usr/bin/install -p -m 644 'README' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/README' /usr/bin/install -p -m 644 'AUTHORS' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/AUTHORS' /usr/bin/install -p -m 644 'COPYING' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/COPYING' /usr/bin/install -p -m 644 'INSTALL' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/INSTALL' /usr/bin/install -p -m 644 'NEWS' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/NEWS' /usr/bin/install -p -m 644 'ChangeLog' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/ChangeLog' make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' + rm -rv /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/AUTHORS' removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/ChangeLog' removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/NEWS' removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/INSTALL' removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/COPYING' removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc/README' removed directory '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/brutalchess/doc' + desktop-file-install --dir=/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/applications /builddir/build/SOURCES/brutalchess.desktop + install -d /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/pixmaps + cp -p /builddir/build/SOURCES/brutalchess.png /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/pixmaps + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: brutalchess-0.5.2-0.13.alpha.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WCaueC + umask 022 + cd /builddir/build/BUILD + cd brutalchess-0.5.2 + DOCDIR=/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/doc/brutalchess + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/doc/brutalchess + cp -pr AUTHORS /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/doc/brutalchess + cp -pr ChangeLog /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/doc/brutalchess + cp -pr NEWS /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/doc/brutalchess + cp -pr README /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/doc/brutalchess + cp -pr doc/html /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/doc/brutalchess + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.z17p4h + umask 022 + cd /builddir/build/BUILD + cd brutalchess-0.5.2 + LICENSEDIR=/builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/licenses/brutalchess + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/licenses/brutalchess + cp -pr COPYING /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64/usr/share/licenses/brutalchess + exit 0 Provides: application() application(brutalchess.desktop) brutalchess = 0.5.2-0.13.alpha.fc28 brutalchess(riscv-64) = 0.5.2-0.13.alpha.fc28 brutalchess-doc = 0.5.2-0.13.alpha.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGL.so.1()(64bit) libGLU.so.1()(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Obsoletes: brutalchess-doc < 0.5.2-0.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64 Wrote: /builddir/build/SRPMS/brutalchess-0.5.2-0.13.alpha.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/brutalchess-0.5.2-0.13.alpha.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Hg1GOT + umask 022 + cd /builddir/build/BUILD + cd brutalchess-0.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/brutalchess-0.5.2-0.13.alpha.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff