← Back to team overview

kicad-developers team mailing list archive

bug in numeric_evaluator?

 

Not sure where to even begin looking at libeval since it looks scary but
MSVC complains:

D:\kicad-source-mirror\common\libeval\numeric_evaluator.cpp(216): warning
C4805: '==': unsafe mix of type 'char' and type 'bool' in operation

which is:

      auto ch = clToken.input[clToken.pos];
      do {
         if (ch == isDecSep(ch) && sepCount) break;


ch is a char

isDecSep returns bool

char == bool?



-- 
Mark

Follow ups