Re: Help needed with gcc-7 error

2017-08-28 Thread Christian Seiler
On 08/28/2017 10:54 PM, Martin Eberhard Schauer wrote: >>> Well, casting to long helped - but in how far does making > >>> abs(unsigned - unsigned) > >>> no sense? This does not sound very logical to me. > >> The result of (unsigned - unsigned) is unsigned. > What about A, B both unsigned an

Re: Help needed with gcc-7 error

2017-08-28 Thread Tobias Frost
On Mon, Aug 28, 2017 at 10:54:07PM +0200, Martin Eberhard Schauer wrote: > > > Well, casting to long helped - but in how far does making > > > > abs(unsigned - unsigned) > > > > no sense? This does not sound very logical to me. > > > The result of (unsigned - unsigned) is unsigned. > What ab

Re: Help needed with gcc-7 error

2017-08-28 Thread Martin Eberhard Schauer
Well, casting to long helped - but in how far does making abs(unsigned - unsigned) no sense? This does not sound very logical to me. The result of (unsigned - unsigned) is unsigned. What about A, B both unsigned and B > A?

Re: Help needed with gcc-7 error

2017-08-28 Thread Andrey Rahmatullin
On Mon, Aug 28, 2017 at 10:42:30PM +0200, Andreas Tille wrote: > > > g++ -DHAVE_CONFIG_H -I. -I.. -I../Bigraph -I../Thirdparty -Wdate-time > > > -D_FORTIFY_SOURCE=2 -fopenmp -I/usr//include -I/usr//include/bamtools > > > -Wall -Wextra -Wno-unknown-pragmas -std=c++98 -O3 -c -o > > > libutil_a-

Re: Help needed with gcc-7 error

2017-08-28 Thread Andreas Tille
Hi James, On Sun, Aug 27, 2017 at 02:58:34PM +0100, James Cowgill wrote: > > g++ -DHAVE_CONFIG_H -I. -I.. -I../Bigraph -I../Thirdparty -Wdate-time > > -D_FORTIFY_SOURCE=2 -fopenmp -I/usr//include -I/usr//include/bamtools > > -Wall -Wextra -Wno-unknown-pragmas -std=c++98 -O3 -c -o > > libutil

Re: Help needed with gcc-7 error

2017-08-27 Thread Bastien Roucaries
Use and make signed Le 27 août 2017 15:58:34 GMT+02:00, James Cowgill a écrit : >Hi, > >On 27/08/17 14:40, Andreas Tille wrote: >> Hi, >> >> when trying to build sga it results in an error: >> >> ... >> g++ -DHAVE_CONFIG_H -I. -I.. -I../Bigraph -I../Thirdparty >-Wdate-time -D_FORTIFY_SOURCE=

Re: Help needed with gcc-7 error

2017-08-27 Thread James Cowgill
Hi, On 27/08/17 14:40, Andreas Tille wrote: > Hi, > > when trying to build sga it results in an error: > > ... > g++ -DHAVE_CONFIG_H -I. -I.. -I../Bigraph -I../Thirdparty -Wdate-time > -D_FORTIFY_SOURCE=2 -fopenmp -I/usr//include -I/usr//include/bamtools -Wall > -Wextra -Wno-unknown-pragmas

Help needed with gcc-7 error

2017-08-27 Thread Andreas Tille
Hi, when trying to build sga it results in an error: ... g++ -DHAVE_CONFIG_H -I. -I.. -I../Bigraph -I../Thirdparty -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -I/usr//include -I/usr//include/bamtools -Wall -Wextra -Wno-unknown-pragmas -std=c++98 -O3 -c -o libutil_a-VariantIndex.o `test -f 'Var