Closed gbtami closed 7 years ago
Now fixed and offset_8 added. Its also faster now!
It still produces some warnings for me:
make[1]: Entering directory '/home/tamas/pychess/pgnextractor/parser'
g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o bitboard.o bitboard.cpp
g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o book.o book.cpp
g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o main.o main.cpp
g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o misc.o misc.cpp
g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o parser.o parser.cpp
parser.cpp: In function ‘void {anonymous}::parse_pgn(void*, uint64_t, {anonymous}::Stats&, {anonymous}::Keys&, std::ofstream&)’:
parser.cpp:245:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
int result = 3;
^
parser.cpp: At global scope:
parser.cpp:236:70: warning: unused parameter ‘kTable’ [-Wunused-parameter]
void parse_pgn(void* baseAddress, uint64_t size, Stats& stats, Keys& kTable, std::ofstream& headerFile) {
^
g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o position.o position.cpp
g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o uci.o uci.cpp
g++ -o pgnextractor bitboard.o book.o main.o misc.o parser.o position.o uci.o -Wl,--no-as-needed -lpthread -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto
make[1]: Leaving directory '/home/tamas/pychess/pgnextractor/parser'
Will fix, odd. Thx for reporting.
On Mon, Jan 9, 2017 at 12:51 PM, Bajusz Tamás notifications@github.com wrote:
It still produces some warnings for me:
make[1]: Entering directory '/home/tamas/pychess/pgnextractor/parser' g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o bitboard.o bitboard.cpp g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o book.o book.cpp g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o main.o main.cpp g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o misc.o misc.cpp g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o parser.o parser.cpp parser.cpp: In function ‘void {anonymous}::parse_pgn(void, uint64_t, {anonymous}::Stats&, {anonymous}::Keys&, std::ofstream&)’: parser.cpp:245:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] int result = 3; ^ parser.cpp: At global scope: parser.cpp:236:70: warning: unused parameter ‘kTable’ [-Wunused-parameter] void parse_pgn(void baseAddress, uint64_t size, Stats& stats, Keys& kTable, std::ofstream& headerFile) { ^ g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o position.o position.cpp g++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o uci.o uci.cpp g++ -o pgnextractor bitboard.o book.o main.o misc.o parser.o position.o uci.o -Wl,--no-as-needed -lpthread -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto make[1]: Leaving directory '/home/tamas/pychess/pgnextractor/parser'
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/sshivaji/pgnextractor/issues/1#issuecomment-271403791, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXUGnKhuneodf-XPnD6KDUPKv1DRBkoks5rQp3TgaJpZM4LeJZD .
No warnings now. Thx!