Hi,
An unsigned integer cannot be negative. Try deleting the violating line
patternset.cpp:188 or even the whole surrounding if statement.
Best,
Fabian
On 09.07.2018 13:11, Andreas Tille wrote:
> patternset.cpp:188:23: error: call of overloaded 'abs(uint32_t&)' is ambiguous
>size = std::abs(
On 09.07.2018 13:11, Andreas Tille wrote:
Hi,
Hello,
[snip]
patternset.cpp:188:23: error: call of overloaded 'abs(uint32_t&)' is ambiguous
size = std::abs(size);
^
There is no abs function which takes uint32_t as parameter, so it does
not know which one it shou
On Mon, Jul 09, 2018 at 01:11:34PM +0200, Andreas Tille wrote:
> patternset.cpp: In member function 'void patternset::CheckParams()':
> patternset.cpp:187:10: warning: comparison of unsigned expression < 0 is
> always false [-Wtype-limits]
> if(size < 0){
> ~^~~
> patternset.cpp:188:23:
Hi,
I take the freedom to ask for some C++ help for the new version of
spaced[1]:
...
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -std=c++11 -Wno-char-subscripts
-Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -g -O2
-fdebug-prefix-map=/build/spaced-1.2.0-201605+dfsg=. -fstack-protector-strong -
4 matches
Mail list logo