Hi,
I compiled Scid 4.5.2 for 64-bit Linux. If I have the option Options ->
Docked windows checked and then go to Tools -> Analysis Engine or Tools
-> Start engine 1 Scid immediately closes with the following output in
the console:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 10 (X_UnmapWindow)
Resource id in failed request: 0x3c00384
Serial number of failed request: 20239
Current serial number in output stream: 20386
I attached the output of my compilation. Please let me know what other
information I can provide that might be helpful.
Bennett
configure: Makefile configuration program for Scid
Tcl/Tk version: 8.6
Your operating system is: Linux 3.10.17
Location of "tcl.h": /usr/include
Location of Tcl 8.6 library: /usr/lib64
Checking if your system already has zlib installed: yes.
Using Makefile.conf.
The Makefile configured for your system was written.
Multi-threading enabled (if you have problems try ./configure THREADS="").
Now just type "make" to compile Scid.
rm -f ./scid
cp scripts/sc_addmove.tcl ./sc_addmove
cat tcl/start.tcl tcl/bitmaps.tcl tcl/language.tcl tcl/utils.tcl
tcl/utils/date.tcl tcl/utils/font.tcl tcl/utils/graph.tcl tcl/utils/history.tcl
tcl/utils/pane.tcl tcl/utils/sound.tcl tcl/utils/string.tcl
tcl/utils/tooltip.tcl tcl/utils/validate.tcl tcl/utils/win.tcl
tcl/misc/misc.tcl tcl/htext.tcl tcl/file.tcl tcl/file/finder.tcl
tcl/file/bookmark.tcl tcl/file/recent.tcl tcl/file/epd.tcl
tcl/file/spellchk.tcl tcl/file/maint.tcl tcl/edit.tcl tcl/game.tcl
tcl/game/browser.tcl tcl/windows.tcl tcl/windows/gamelist.tcl
tcl/windows/pgn.tcl tcl/windows/book.tcl tcl/windows/comment.tcl
tcl/windows/eco.tcl tcl/windows/stats.tcl tcl/windows/tree.tcl
tcl/windows/crosstab.tcl tcl/windows/pfinder.tcl tcl/windows/tourney.tcl
tcl/windows/switcher.tcl tcl/search/search.tcl tcl/search/board.tcl
tcl/search/header.tcl tcl/search/material.tcl tcl/contrib/ezsmtp/ezsmtp.tcl
tcl/tools/email.tcl tcl/tools/import.tcl tcl/tools/optable.tcl
tcl/tools/preport.tcl tcl/tools/pinfo.tcl tcl/tools/analysis.tcl
tcl/tools/comp.tcl tcl/tools/wbdetect.tcl tcl/tools/reper.tcl
tcl/tools/graphs.tcl tcl/tools/tablebase.tcl tcl/tools/ptracker.tcl
tcl/help/help.tcl tcl/help/tips.tcl tcl/menus.tcl tcl/board.tcl tcl/move.tcl
tcl/main.tcl tcl/tools/correspondence.tcl tcl/lang/english.tcl
tcl/lang/catalan.tcl tcl/lang/czech.tcl tcl/lang/deutsch.tcl
tcl/lang/francais.tcl tcl/lang/greek.tcl tcl/lang/hungary.tcl
tcl/lang/italian.tcl tcl/lang/nederlan.tcl tcl/lang/norsk.tcl
tcl/lang/polish.tcl tcl/lang/portbr.tcl tcl/lang/russian.tcl
tcl/lang/serbian.tcl tcl/lang/spanish.tcl tcl/lang/suomi.tcl
tcl/lang/swedish.tcl tcl/tools/uci.tcl tcl/end.tcl tcl/tools/tacgame.tcl
tcl/tools/sergame.tcl tcl/tools/calvar.tcl tcl/tools/fics.tcl
tcl/tools/opening.tcl tcl/tools/tactics.tcl tcl/tools/reviewgame.tcl
tcl/utils/metadata.tcl tcl/tools/inputengine.tcl tcl/tools/novag.tcl
tcl/utils/bibliography.tcl > ./scid
cp scripts/sc_epgn.tcl ./sc_epgn
cp scripts/sc_spell.tcl ./sc_spell
chmod +x sc_addmove
chmod +x sc_epgn
chmod +x sc_spell
cp scripts/sc_eco.tcl ./sc_eco
cp scripts/sc_import.tcl ./sc_import
cp scripts/sc_remote.tk ./sc_remote
cp scripts/sc_tree.tcl ./sc_tree
chmod +x sc_import
chmod +x sc_remote
chmod +x sc_eco
chmod +x sc_tree
cp scripts/scidpgn.tcl ./scidpgn
cp scripts/pgnfix.py ./pgnfix
cp scripts/spliteco.tcl ./spliteco
chmod +x scidpgn
cp scripts/spf2spi.tcl ./spf2spi
chmod +x pgnfix
chmod +x spliteco
chmod +x spf2spi
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/pgnscid.o -c src/pgnscid.cpp
chmod +x scid
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/misc.o -c src/misc.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/index.o -c src/index.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/date.o -c src/date.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/namebase.o -c src/namebase.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/position.o -c src/position.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/game.o -c src/game.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/gfile.o -c src/gfile.cpp
In file included from src/namebase.h:22:0,
from src/namebase.cpp:17:
src/strtree.h: In instantiation of 'nodeT<C>* StrTree<C>::MakeSubTree(int,
uint) [with C = nameDataT; uint = unsigned int]':
src/strtree.h:376:50: required from 'void StrTree<C>::MakeTree() [with C =
nameDataT]'
src/strtree.h:157:49: required from 'void StrTree<C>::Rebalance() [with C =
nameDataT]'
src/namebase.cpp:276:29: required from here
src/strtree.h:339:24: warning: variable 'mid' set but not used
[-Wunused-but-set-variable]
int nLeft, nRight, mid;
^
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/matsig.o -c src/matsig.cpp
src/game.cpp: In member function 'errorT Game::WriteMoveList(TextBuffer*, uint,
moveT*, bool, bool)':
src/game.cpp:2267:18: warning: variable 'newline' set but not used
[-Wunused-but-set-variable]
const char * newline = "\n";
^
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/bytebuf.o -c src/bytebuf.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/textbuf.o -c src/textbuf.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/myassert.o -c src/myassert.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/stralloc.o -c src/stralloc.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/mfile.o -c src/mfile.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/dstring.o -c src/dstring.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/pgnparse.o -c src/pgnparse.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/stored.o -c src/stored.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/movelist.o -c src/movelist.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/sortcache.o -c src/sortcache.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/filter.o -c src/filter.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/tkscid.o -c src/tkscid.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/tree.o -c src/tree.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/pbook.o -c src/pbook.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/crosstab.o -c src/crosstab.cpp
In file included from src/pbook.h:22:0,
from src/pbook.cpp:22:
src/strtree.h: In instantiation of 'nodeT<C>* StrTree<C>::MakeSubTree(int,
uint) [with C = bookDataT; uint = unsigned int]':
src/strtree.h:376:50: required from 'void StrTree<C>::MakeTree() [with C =
bookDataT]'
src/strtree.h:395:32: required from 'nodeT<C>* StrTree<C>::Lookup(const
char*) [with C = bookDataT]'
src/pbook.cpp:224:54: required from here
src/strtree.h:339:24: warning: variable 'mid' set but not used
[-Wunused-but-set-variable]
int nLeft, nRight, mid;
^
src/tkscid.cpp: In function 'int sc_base_open(ClientData, Tcl_Interp*, int,
const char**)':
src/tkscid.cpp:1206:10: warning: variable 'fastOpen' set but not used
[-Wunused-but-set-variable]
bool fastOpen = false; // Fast open (no flag counts, etc)
^
src/tkscid.cpp: In function 'int sc_compact_games(scidBaseT*, Tcl_Interp*)':
src/tkscid.cpp:4184:10: warning: variable 'treeFileOutOfDate' set but not used
[-Wunused-but-set-variable]
bool treeFileOutOfDate = false;
^
src/tkscid.cpp: In function 'int sc_filter(ClientData, Tcl_Interp*, int, const
char**)':
src/tkscid.cpp:5009:37: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
if (start > count) {
^
src/tkscid.cpp:5018:42: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
for (uint i = 0; i < count; ++i) {
^
src/tkscid.cpp: In function 'int sc_tree_search(ClientData, Tcl_Interp*, int,
const char**)':
src/tkscid.cpp:13350:51: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strings]
Tcl_SetResult (ti, "canceled", TCL_STATIC);
^
src/tkscid.cpp:13233:10: warning: variable 'showTimeStats' set but not used
[-Wunused-but-set-variable]
bool showTimeStats = true;
^
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/spellchk.o -c src/spellchk.cpp
g++ -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -I/usr/include
-DSCID_USE_TB -DT41_INCLUDE -o src/probe.o -c src/probe.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/optable.o -c src/optable.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/engine.o -c src/engine.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/recog.o -c src/recog.cpp
src/optable.cpp: In member function 'void OpTable::PrintLaTeX(DString*, const
char*, const char*)':
src/optable.cpp:1090:14: warning: variable 'lastNote' set but not used
[-Wunused-but-set-variable]
uint lastNote = 0;
^
src/optable.cpp: In member function 'void OpTable::ThemeReport(DString*, uint,
const char**)':
src/optable.cpp:2131:18: warning: variable 'themeName' set but not used
[-Wunused-but-set-variable]
const char * themeName [NUM_POSTHEMES] = {NULL};
^
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/attack.o -c src/polyglot/attack.cpp
src/engine.cpp: In member function 'int Engine::Think(MoveList*)':
src/engine.cpp:1478:51: warning: suggest parentheses around '&&' within '||'
[-Wparentheses]
if (mlist->Size() <= depth || depth >= 5 && IsMatingScore
(bestScore)) { break; }
^
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/board.o -c src/polyglot/board.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/book.o -c src/polyglot/book.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/book_make.o -c src/polyglot/book_make.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/book_merge.o -c src/polyglot/book_merge.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/colour.o -c src/polyglot/colour.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/fen.o -c src/polyglot/fen.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/game.o -c src/polyglot/game.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/hash.o -c src/polyglot/hash.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/io.o -c src/polyglot/io.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/line.o -c src/polyglot/line.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/list.o -c src/polyglot/list.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/main.o -c src/polyglot/main.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/move.o -c src/polyglot/move.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/move_do.o -c src/polyglot/move_do.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/move_gen.o -c src/polyglot/move_gen.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/move_legal.o -c src/polyglot/move_legal.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/option.o -c src/polyglot/option.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/parse.o -c src/polyglot/parse.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/pgn.o -c src/polyglot/pgn.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/piece.o -c src/polyglot/piece.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/random.o -c src/polyglot/random.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/san.o -c src/polyglot/san.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/search.o -c src/polyglot/search.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/square.o -c src/polyglot/square.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/polyglot/util.o -c src/polyglot/util.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/scmerge.o -c src/scmerge.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/scidlet.o -c src/scidlet.cpp
g++ -MMD -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall
-I/usr/include -o src/scidt.o -c src/scidt.cpp
cd engines/phalanx-scid/ && make && cd ../../
make[1]: Entering directory `/tmp/scid-4.5.2/engines/phalanx-scid'
mkdir .o
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
phalanx.c -o .o/phalanx.o
src/scidlet.cpp: In function 'void makeBook(const char*)':
src/scidlet.cpp:410:31: warning: deprecated conversion from string constant to
'char*' [-Wwrite-strings]
writeString (out, "SBK", 4);
^
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
search.c -o .o/search.o
src/scmerge.cpp: In function 'int main(int, char**)':
src/scmerge.cpp:193:93: warning: format '%d' expects argument of type 'int',
but argument 3 has type 'long unsigned int' [-Wformat=]
fprintf(stderr, "File name too long (max: %d chars)\n",
sizeof(thisFile));
^
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c io.c
-o .o/io.o
src/scidt.cpp: In function 'void printDebugInfo()':
src/scidt.cpp:129:59: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf ("\nByteBuffer class: %u\n", sizeof(ByteBuffer));
^
src/scidt.cpp:131:49: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf ("\nIndex class: %u\n", sizeof(Index));
^
src/scidt.cpp:132:65: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" indexHeaderT struct: %u\n", sizeof(indexHeaderT));
^
src/scidt.cpp:133:60: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" IndexEntry class: %u\n", sizeof(IndexEntry));
^
src/scidt.cpp:135:47: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf ("\nGame class: %u\n", sizeof(Game));
^
src/scidt.cpp:136:57: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" patternT struct: %u\n", sizeof(patternT));
^
src/scidt.cpp:137:51: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" moveT struct: %u\n", sizeof(moveT));
^
src/scidt.cpp:138:61: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" moveChunkT struct: %u\n", sizeof(moveChunkT));
^
src/scidt.cpp:139:49: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" tagT struct: %u\n", sizeof(tagT));
^
src/scidt.cpp:141:49: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf ("\nGFile class: %u\n", sizeof(GFile));
^
src/scidt.cpp:142:57: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" gfBlockT struct: %u\n", sizeof(gfBlockT));
^
src/scidt.cpp:144:55: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf ("\nNameBase class: %u\n", sizeof(NameBase));
^
src/scidt.cpp:145:71: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" nameBaseHeaderT struct: %u\n", sizeof(nameBaseHeaderT));
^
src/scidt.cpp:146:59: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" nameNodeT struct: %u\n", sizeof(nameNodeT));
^
src/scidt.cpp:148:55: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf ("\nPosition class: %u\n", sizeof(Position));
^
src/scidt.cpp:149:63: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" simpleMoveT struct: %u\n", sizeof(simpleMoveT));
^
src/scidt.cpp:150:61: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" LegalMoveList class: %u\n", sizeof(MoveList));
^
src/scidt.cpp:151:57: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" sanListT struct: %u\n", sizeof(sanListT));
^
src/scidt.cpp:154:59: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf ("\nTextBuffer class: %u\n", sizeof(TextBuffer));
^
src/scidt.cpp:156:57: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf ("\nTreeCache class: %u\n", sizeof(TreeCache));
^
src/scidt.cpp:157:63: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" cachedTreeT struct: %u\n", sizeof(cachedTreeT));
^
src/scidt.cpp:158:51: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" treeT struct: %u\n", sizeof(treeT));
^
src/scidt.cpp:159:59: warning: format '%u' expects argument of type 'unsigned
int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf (" treeNodeT struct: %u\n", sizeof(treeNodeT));
^
cd engines/togaII1.2.1a/src/ && make && cd ../../
make[1]: Entering directory `/tmp/scid-4.5.2/engines/togaII1.2.1a/src'
Makefile:47: .depend: No such file or directory
g++ -MM attack.cpp board.cpp book.cpp eval.cpp fen.cpp hash.cpp list.cpp
main.cpp material.cpp move.cpp move_check.cpp move_do.cpp move_evasion.cpp
move_gen.cpp move_legal.cpp option.cpp pawn.cpp piece.cpp posix.cpp
protocol.cpp pst.cpp pv.cpp random.cpp recog.cpp search.cpp search_full.cpp
see.cpp sort.cpp square.cpp trans.cpp util.cpp value.cpp vector.cpp > .depend
g++ -o pgnscid src/pgnscid.o src/misc.o src/index.o src/date.o src/namebase.o
src/position.o src/game.o src/gfile.o src/matsig.o src/bytebuf.o src/textbuf.o
src/myassert.o src/stralloc.o src/mfile.o src/dstring.o src/pgnparse.o
src/stored.o src/movelist.o src/sortcache.o src/filter.o -lz -L/usr/lib64
-ltcl8.6
g++ -o scidlet src/scidlet.o src/engine.o src/recog.o src/misc.o src/position.o
src/movelist.o src/dstring.o -L/usr/lib64 -ltcl8.6
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
data.c -o .o/data.o
g++ -o scmerge src/scmerge.o src/misc.o src/index.o src/date.o src/namebase.o
src/position.o src/game.o src/gfile.o src/matsig.o src/bytebuf.o src/textbuf.o
src/myassert.o src/stralloc.o src/mfile.o src/dstring.o src/pgnparse.o
src/stored.o src/movelist.o src/sortcache.o src/filter.o -lz -L/usr/lib64
-ltcl8.6
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
evaluate.c -o .o/evaluate.o
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
genmoves.c -o .o/genmoves.o
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
moving.c -o .o/moving.o
g++ -o scidt src/scidt.o src/misc.o src/index.o src/date.o src/namebase.o
src/position.o src/game.o src/gfile.o src/matsig.o src/bytebuf.o src/textbuf.o
src/myassert.o src/stralloc.o src/mfile.o src/dstring.o src/pgnparse.o
src/stored.o src/movelist.o src/sortcache.o src/filter.o -lz -L/usr/lib64
-ltcl8.6
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
hash.c -o .o/hash.o
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
static.c -o .o/static.o
make[1]: Leaving directory `/tmp/scid-4.5.2/engines/togaII1.2.1a/src'
make[1]: Entering directory `/tmp/scid-4.5.2/engines/togaII1.2.1a/src'
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o attack.o attack.cpp
attack.cpp: In function 'bool piece_attack_king(const board_t*, int, int, int)':
attack.cpp:458:18: warning: variable 'inc_ptr' set but not used
[-Wunused-but-set-variable]
const inc_t * inc_ptr;
^
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
levels.c -o .o/levels.o
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
book.c -o .o/book.o
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
killers.c -o .o/killers.o
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o board.o board.cpp
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
endgame.c -o .o/endgame.o
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c
learn.c -o .o/learn.o
endgame.c: In function 'e_mp':
endgame.c:323:6: warning: variable 'ss' set but not used
[-Wunused-but-set-variable]
int ss; /* stronger side */
^
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o book.o book.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o eval.o eval.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o fen.o fen.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o hash.o hash.cpp
eval.cpp: In function 'void eval_piece(const board_t*, const material_info_t*,
const pawn_info_t*, int*, int*)':
eval.cpp:650:8: warning: variable 'opp_flag' set but not used
[-Wunused-but-set-variable]
int opp_flag;
^
eval.cpp: In function 'void eval_king(const board_t*, const material_info_t*,
int*, int*)':
eval.cpp:905:8: warning: variable 'king_file' set but not used
[-Wunused-but-set-variable]
int king_file, king_rank;
^
eval.cpp:905:19: warning: variable 'king_rank' set but not used
[-Wunused-but-set-variable]
int king_file, king_rank;
^
eval.cpp: In function 'void eval_passer(const board_t*, const pawn_info_t*,
int*, int*)':
eval.cpp:1108:8: warning: variable 'white_passed_nb' set but not used
[-Wunused-but-set-variable]
int white_passed_nb, black_passed_nb;
^
eval.cpp:1108:25: warning: variable 'black_passed_nb' set but not used
[-Wunused-but-set-variable]
int white_passed_nb, black_passed_nb;
^
eval.cpp: In function 'bool free_passer(const board_t*, int, int)':
eval.cpp:1392:12: warning: variable 'opp' set but not used
[-Wunused-but-set-variable]
int me, opp;
^
eval.cpp: In function 'bool draw_kpkb(const int*, int)':
eval.cpp:1718:8: warning: variable 'wk' set but not used
[-Wunused-but-set-variable]
int wk, wp, bk, bb;
^
eval.cpp: In function 'bool draw_kpkn(const int*, int)':
eval.cpp:1782:8: warning: variable 'wk' set but not used
[-Wunused-but-set-variable]
int wk, wp, bk, bn;
^
eval.cpp:1782:16: warning: variable 'bk' set but not used
[-Wunused-but-set-variable]
int wk, wp, bk, bn;
^
eval.cpp: In function 'bool draw_knpk(const int*, int)':
eval.cpp:1830:8: warning: variable 'wk' set but not used
[-Wunused-but-set-variable]
int wk, wn, wp, bk;
^
eval.cpp:1830:12: warning: variable 'wn' set but not used
[-Wunused-but-set-variable]
int wk, wn, wp, bk;
^
eval.cpp: In function 'bool draw_kbpkb(const int*, int)':
eval.cpp:1933:8: warning: variable 'wk' set but not used
[-Wunused-but-set-variable]
int wk, wb, wp, bk, bb;
^
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o list.o list.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o main.o main.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o material.o material.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o move.o move.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o move_check.o move_check.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o move_do.o move_do.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o move_evasion.o move_evasion.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o move_gen.o move_gen.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o move_legal.o move_legal.cpp
move_legal.cpp: In function 'bool move_is_pseudo(int, board_t*)':
move_legal.cpp:28:12: warning: variable 'opp' set but not used
[-Wunused-but-set-variable]
int me, opp;
^
move_legal.cpp: In function 'bool quiet_is_pseudo(int, board_t*)':
move_legal.cpp:110:12: warning: variable 'opp' set but not used
[-Wunused-but-set-variable]
int me, opp;
^
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o option.o option.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o pawn.o pawn.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o piece.o piece.cpp
pawn.cpp: In function 'void pawn_comp_info(pawn_info_t*, const board_t*)':
pawn.cpp:285:55: warning: variable 'passed' set but not used
[-Wunused-but-set-variable]
bool backward, candidate, doubled, isolated, open, passed;
^
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o posix.o posix.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o protocol.o protocol.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o pst.o pst.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o pv.o pv.cpp
gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN
.o/phalanx.o .o/search.o .o/io.o .o/data.o .o/evaluate.o .o/genmoves.o
.o/moving.o .o/hash.o .o/static.o .o/levels.o .o/book.o .o/killers.o
.o/endgame.o .o/learn.o -o phalanx-scid
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o random.o random.cpp
make[1]: Leaving directory `/tmp/scid-4.5.2/engines/phalanx-scid'
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o recog.o recog.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o search.o search.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o search_full.o search_full.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o see.o see.cpp
search.cpp: In function 'void search_update_root()':
search.cpp:455:24: warning: variable 'move_nb' set but not used
[-Wunused-but-set-variable]
int move, move_pos, move_nb;
^
search.cpp:456:11: warning: variable 'time' set but not used
[-Wunused-but-set-variable]
double time;
^
search.cpp:457:11: warning: variable 'node_nb' set but not used
[-Wunused-but-set-variable]
sint64 node_nb;
^
search_full.cpp: In function 'int full_quiescence(board_t*, int, int, int, int,
mv_t*)':
search_full.cpp:941:8: warning: variable 'best_move' set but not used
[-Wunused-but-set-variable]
int best_move;
^
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o sort.o sort.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o square.o square.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o trans.o trans.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o util.o util.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o value.o value.cpp
g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing
-fomit-frame-pointer -c -o vector.o vector.cpp
g++ -lm -s -o togaII attack.o board.o book.o eval.o fen.o hash.o list.o main.o
material.o move.o move_check.o move_do.o move_evasion.o move_gen.o move_legal.o
option.o pawn.o piece.o posix.o protocol.o pst.o pv.o random.o recog.o search.o
search_full.o see.o sort.o square.o trans.o util.o value.o vector.o
make[1]: Leaving directory `/tmp/scid-4.5.2/engines/togaII1.2.1a/src'
src/tkscid.cpp: In function 'int sc_name_spellcheck(ClientData, Tcl_Interp*,
int, const char**)':
src/tkscid.cpp:12479:61: warning: array subscript is above array bounds
[-Warray-bounds]
corrections[j-1] = corrections[j];
^
src/tkscid.cpp:12479:61: warning: array subscript is above array bounds
[-Warray-bounds]
src/tkscid.cpp:12479:44: warning: array subscript is above array bounds
[-Warray-bounds]
corrections[j-1] = corrections[j];
^
g++ -o tkscid src/tkscid.o src/tree.o src/pbook.o src/crosstab.o
src/spellchk.o src/probe.o src/optable.o src/engine.o src/recog.o
src/polyglot/attack.o src/polyglot/board.o src/polyglot/book.o
src/polyglot/book_make.o src/polyglot/book_merge.o src/polyglot/colour.o
src/polyglot/fen.o src/polyglot/game.o src/polyglot/hash.o src/polyglot/io.o
src/polyglot/line.o src/polyglot/list.o src/polyglot/main.o src/polyglot/move.o
src/polyglot/move_do.o src/polyglot/move_gen.o src/polyglot/move_legal.o
src/polyglot/option.o src/polyglot/parse.o src/polyglot/pgn.o
src/polyglot/piece.o src/polyglot/random.o src/polyglot/san.o
src/polyglot/search.o src/polyglot/square.o src/polyglot/util.o src/misc.o
src/index.o src/date.o src/namebase.o src/position.o src/game.o src/gfile.o
src/matsig.o src/bytebuf.o src/textbuf.o src/myassert.o src/stralloc.o
src/mfile.o src/dstring.o src/pgnparse.o src/stored.o src/movelist.o
src/sortcache.o src/filter.o -lz -L/usr/lib64 -ltcl8.6
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users