Re: C++ help needed for spaced: call of overloaded 'abs(uint32_t&)' is ambiguous

2018-07-09 Thread Fabian Klötzl
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(size);



Re: [Debian-med-packaging] C++ help needed for centrifuge

2017-11-26 Thread Fabian Klötzl
Ho,

On 26.11.2017 19:32, Walter Landry wrote:
> Andreas Tille  wrote:
>> Unfortunately I've hit another issue:
>>
>> ...
>> classifier.h:428:54: error: the value of 'rank' is not usable in a constant 
>> expression
>>  while((uint8_t)_hitMap[i].rank < rank) {
>>   ^~~~
>> classifier.h:424:21: note: 'uint8_t rank' is not const
>>  uint8_t rank = 0;
>>  ^~~~
> 
> That is mysterious to me.  Is that the first error?
> 

That reminds me of an error where the `<` was mistaken for the opening
angle brackets of a template. Flipping the order of the comparison or
adding some extra parentheses might help.

I will do some more investigation, tomorrow.

Fabian



Re: Gcc-7 help needed to upgrade r-cran-igraph

2017-09-07 Thread Fabian Klötzl

On 07.09.2017 12:06, Andreas Tille wrote:
> Uhmm, yes, I missed this.  Adding Build-Depends libxml2-dev helped ...
> 
> Thanks for helping me reading

It is always the little things. ☺

Anyways, seems like the detect for libxml2 is flawed. Might be worth
opening an issue upstream.

Fabian