| Summary: | valid c++-code marked as error | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Andreas Buchenrieder <andreas.buchenrieder> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | apaku, david.nolden.kde |
| Priority: | NOR | ||
| Version First Reported In: | 3.4.1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
In the future please consider checking existing already closed bugreports. *** This bug has been marked as a duplicate of bug 133504 *** This is not actually a duplicate of the said bug. Still present in kdev4. SVN commit 1001981 by zwabel: - Solve some problems in the parser where expressions were falsely recognized as template parameters when '<' and '>' operators had the template-like order. Example: "if(a < b && c > d)" - Add test BUG: 170683 M +27 -0 cppduchain/tests/test_duchain.cpp M +1 -0 cppduchain/tests/test_duchain.h M +17 -5 parser/parser.cpp M +3 -0 parser/parser.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1001981 Ooops, sorry seems I was too fast with the duplicate closing, need to read more closely apparently. |
Version: 3.4.1 (using KDE 3.5.9) OS: Linux Installed from: I Don't Know following (definitive valid) C++Code is marked as an error: if ( a < foo || a > bar.b() ) {...} // i think it's because the <...> following works as excepted: if ( a < foo || a > bar ) {...} // without the method-call if ( a < foo || a >= bar ) {...} // different relational operator noone of above code-pieces lead to a compiler-warning (or -error) Bug found in kdevelop 3.4.1, but should also be in current version