Re: [Debian-med-packaging] C++ help needed for centrifuge
Ho,
On 26.11.2017 19:32, Walter Landry wrote:
> Andreas Tille <andreas@an3as.eu> 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
Reply to: