[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 170683] New: valid c++-code  marked as error
From:       Andreas Buchenrieder <andreas.buchenrieder () ksab ! kroschu ! com>
Date:       2008-09-08 13:08:34
Message-ID: bug-170683-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=170683

           Summary: valid c++-code  marked as error
           Product: kdevelop
           Version: 3.4.1
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: andreas.buchenrieder@ksab.kroschu.com


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


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic