annoying warning
Posted: 08 Apr 2009, 16:38
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
#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