Package Details: libosl-svn r4545-6

Git Clone URL: (read-only)
Package Base: libosl-svn
Description: Library for Shogi (Japanese chess) playing programs
Upstream URL:
Licenses: custom
Groups: lib
Submitter: dseg
Maintainer: dseg
Last Packager: dseg
Votes: 3
Popularity: 0.001109
First Submitted: 2014-04-20 16:54
Last Updated: 2015-06-09 09:18

Latest Comments

Agt commented on 2016-07-23 15:39

OpenShogiLib currently fails to compile with latest GCC (i.e. 6.1.1 20160707) on x86_64:

$ pacaur -Syu libosl-svn
c++ -std=c++11 -DOSL_SMP -O3 -DNDEBUG -march=native -g -I.. -DOSL_HOME=\"/usr/share/osl\" -fPIC -pipe -D_FORTIFY_SOURCE=2 -c -o bits/boardTable.o bits/
In file included from ../osl/bits/boardTable.h:6:0,
from bits/
../osl/basic_type.h:1062:40: error: left operand of shift expression ‘(-1 << 28)’ is negative [-fpermissive]
BLACK_PASS = 0, WHITE_PASS = (-1)<<28,
../osl/basic_type.h:1062:42: error: enumerator value for ‘WHITE_PASS’ is not an integer constant
BLACK_PASS = 0, WHITE_PASS = (-1)<<28,
make[1]: *** [<builtin>: bits/boardTable.o] Error 1
make[1]: Leaving directory '/home/agt/.cache/pacaur/libosl-svn/src/osl/core/osl'
make: *** [Makefile:4: all] Error 2

It does build with GCC 4.9.2 on Debian Jessie (x86_64): see