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 should use.
Probably
size = std::abs((int)size);
compiles (untested), but as Andrey already pointed out: as "size" is
already unsigned, this code makes no sense.
Better ask upstream what s/he wanted to do here...
HTH and best regards
Andreas
--
("`-''-/").___..--''"`-._
`o_ o ) `-. ( ).`-.__.`)
(_Y_.)' ._ ) `._ `. ``-..-'
_..`--'_..-_/ /--'_.' .'
(il).-'' (li).' ((!.-'
Andreas Tscharner a...@stupidmail.ch ICQ-No. 14356454