Your message dated Fri, 20 Jan 2017 22:23:02 +0200
with message-id <20170120202302.ss4xunhfqp43rwnl@localhost>
and subject line libosl 0.8.0-1 builds with gcc 6
has caused the Debian Bug report #811692,
regarding FTBFS with GCC 6: enumerator value for... is not
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
811692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811692
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libosl
Version: 0.6.0-3.3
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-enumerator-value

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
> -DOSL_HOME=\"/usr/share/gpsshogi-data\" -O3 -funroll-loops  -funswitch-loops 
> -fpeel-loops --param large-function-growth=48000 --param 
> inline-unit-growth=8000 --param max-inline-insns-single=8000 -DNDEBUG 
> -fomit-frame-pointer -pipe -march=k8 -DOSL_SMP -fPIC -Wall -Wwrite-strings 
> -Wextra -Wstrict-aliasing=2 -Woverloaded-virtual -Wcast-align -Wwrite-strings 
> -Wpointer-arith -Wno-unused-parameter -Wno-missing-field-initializers -Werror 
>  -g  -I../include -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
> move_generator/open.o ../lib/move_generator/open.cc
> In file included from ../include/osl/move_action/concept.h:8:0,
>                  from ../include/osl/move_generator/pieceOnBoard.h:3,
>                  from ../include/osl/move_generator/open.h:3,
>                  from ../lib/move_generator/open.cc:1:
> ../include/osl/move.h:66:42: error: left shift of negative value 
> [-Werror=shift-negative-value]
>        BLACK_PASS = 0, WHITE_PASS = (-1)<<28,
>                                           ^~
> 
> ../include/osl/move.h:66:40: error: left operand of shift expression '(-1 << 
> 28)' is negative [-fpermissive]
>        BLACK_PASS = 0, WHITE_PASS = (-1)<<28,
>                                     ~~~~^~~~
> 
> ../include/osl/move.h:66:42: error: enumerator value for 'WHITE_PASS' is not 
> an integer constant
>        BLACK_PASS = 0, WHITE_PASS = (-1)<<28,
>                                           ^~
> 
> In file included from ../include/osl/effect/numBitmapEffect.h:5:0,
>                  from ../include/osl/effect/numSimpleEffect.h:4,
>                  from ../include/osl/state/numEffectState.h:6,
>                  from ../include/osl/move_generator/pieceOnBoard.h:5,
>                  from ../include/osl/move_generator/open.h:3,
>                  from ../lib/move_generator/open.cc:1:
> ../include/osl/ptypeTraits.h: In instantiation of 'const mask_int_t 
> osl::PtypeFunsSub<(osl::Ptype)11u, true>::indexMask':
> ../include/osl/ptypeTraits.h:325:29:   required from 'const mask_int_t 
> osl::PtypeFuns<(osl::Ptype)11u>::indexMask'
> ../include/osl/state/numEffectState.h:359:45:   required from here
> ../include/osl/ptypeTraits.h:299:68: error: left shift of negative value 
> [-Werror=shift-negative-value]
>      static const mask_int_t 
> indexMask=static_cast<mask_int_t>((-1LL<<(PtypeTraits<T>::indexMin))^(-1LL<<(PtypeTraits<T>::indexLimit)));
>                                                                
> ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ../include/osl/ptypeTraits.h:299:103: error: left shift of negative value 
> [-Werror=shift-negative-value]
>      static const mask_int_t 
> indexMask=static_cast<mask_int_t>((-1LL<<(PtypeTraits<T>::indexMin))^(-1LL<<(PtypeTraits<T>::indexLimit)));
>                                                                               
>                     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ../include/osl/ptypeTraits.h:299:68: error: left operand of shift expression 
> '(-1ll << 32)' is negative [-fpermissive]
>      static const mask_int_t 
> indexMask=static_cast<mask_int_t>((-1LL<<(PtypeTraits<T>::indexMin))^(-1LL<<(PtypeTraits<T>::indexLimit)));
>                                                                
> ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ../include/osl/ptypeTraits.h: In instantiation of 'const mask_int_t 
> osl::PtypeFunsSub<(osl::Ptype)14u, true>::indexMask':
> ../include/osl/ptypeTraits.h:325:29:   required from 'const mask_int_t 
> osl::PtypeFuns<(osl::Ptype)14u>::indexMask'
> ../include/osl/state/numEffectState.h:362:49:   required from here
> ../include/osl/ptypeTraits.h:299:68: error: left shift of negative value 
> [-Werror=shift-negative-value]
> ../include/osl/ptypeTraits.h:299:103: error: left shift of negative value 
> [-Werror=shift-negative-value]
>      static const mask_int_t 
> indexMask=static_cast<mask_int_t>((-1LL<<(PtypeTraits<T>::indexMin))^(-1LL<<(PtypeTraits<T>::indexLimit)));
>                                                                               
>                     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ../include/osl/ptypeTraits.h:299:68: error: left operand of shift expression 
> '(-1ll << 36)' is negative [-fpermissive]
>      static const mask_int_t 
> indexMask=static_cast<mask_int_t>((-1LL<<(PtypeTraits<T>::indexMin))^(-1LL<<(PtypeTraits<T>::indexLimit)));
>                                                                
> ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ../include/osl/ptypeTraits.h: In instantiation of 'const mask_int_t 
> osl::PtypeFunsSub<(osl::Ptype)15u, true>::indexMask':
> ../include/osl/ptypeTraits.h:325:29:   required from 'const mask_int_t 
> osl::PtypeFuns<(osl::Ptype)15u>::indexMask'
> ../include/osl/state/numEffectState.h:365:46:   required from here
> ../include/osl/ptypeTraits.h:299:68: error: left shift of negative value 
> [-Werror=shift-negative-value]
> ../include/osl/ptypeTraits.h:299:103: error: left shift of negative value 
> [-Werror=shift-negative-value]
>      static const mask_int_t 
> indexMask=static_cast<mask_int_t>((-1LL<<(PtypeTraits<T>::indexMin))^(-1LL<<(PtypeTraits<T>::indexLimit)));
>                                                                               
>                     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ../include/osl/ptypeTraits.h:299:68: error: left operand of shift expression 
> '(-1ll << 38)' is negative [-fpermissive]
>      static const mask_int_t 
> indexMask=static_cast<mask_int_t>((-1LL<<(PtypeTraits<T>::indexMin))^(-1LL<<(PtypeTraits<T>::indexLimit)));
>                                                                
> ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ../include/osl/ptypeTraits.h: In instantiation of 'const mask_int_t 
> osl::PtypeFunsSub<(osl::Ptype)8u, true>::indexMask':
> ../include/osl/ptypeTraits.h:325:29:   required from 'const mask_int_t 
> osl::PtypeFuns<(osl::Ptype)8u>::indexMask'
> ../include/osl/container/pieceMask.h:88:34:   required from 'void 
> osl::container::PieceMask::clearBit() [with osl::Ptype PTYPE = 
> (osl::Ptype)8u]'
> ../include/osl/state/numEffectState.h:399:19:   required from here
> ../include/osl/ptypeTraits.h:299:68: error: left shift of negative value 
> [-Werror=shift-negative-value]
> ../include/osl/ptypeTraits.h:299:103: error: left shift of negative value 
> [-Werror=shift-negative-value]
>      static const mask_int_t 
> indexMask=static_cast<mask_int_t>((-1LL<<(PtypeTraits<T>::indexMin))^(-1LL<<(PtypeTraits<T>::indexLimit)));
>                                                                               
>                     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ../include/osl/ptypeTraits.h:299:68: error: left operand of shift expression 
> '(-1ll << 30)' is negative [-fpermissive]
>      static const mask_int_t 
> indexMask=static_cast<mask_int_t>((-1LL<<(PtypeTraits<T>::indexMin))^(-1LL<<(PtypeTraits<T>::indexLimit)));
>                                                                
> ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> cc1plus: all warnings being treated as errors
> <builtin>: recipe for target 'move_generator/open.o' failed
> make[1]: *** [move_generator/open.o] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

--- End Message ---
--- Begin Message ---
Version: 0.8.0-1

libosl 0.8.0-1 builds with gcc 6.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--- End Message ---

Reply via email to