Page 1 of 1

annoying warning

Posted: 08 Apr 2009, 16:38
by tiziano
I want to ask if it is possible to modify ExpressionParser at line 1659 adding something like

#ifdef __GNUC__
if (/*CONSTCOND*/ 0)
goto yyerrorlab;
#endif


in order to avoid these annoying warning when compiling with Borland:

[C++ Warning] ExpressionParser.cpp(1659): W8008 Condition is always false
[C++ Warning] ExpressionParser.cpp(1660): W8066 Unreachable code

Thanks,

Tiziano

Posted: 08 Apr 2009, 16:46
by tiziano
Another thing,
I think that in MEMPredictor.h <math> should be included among the libraries because it is required by the 'fabs' function.

Thanks again,
Tiziano