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

List:       kdevelop-bugs
Subject:    [Bug 135957] New: Simple if statement confuses cpp parser
From:       Christoph Bartoschek <bartoschek () gmx ! de>
Date:       2006-10-19 11:02:08
Message-ID: 20061019130206.135957.bartoschek () gmx ! de
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=135957         
           Summary: Simple if statement confuses cpp parser
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: bartoschek gmx de


Version:           Subversion 3.4 branch revision 596958 (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          g++ 4.1 
OS:                Linux

If I open a new file in my main development project and enter the following code:

void reduce(double a, double b)
{
   if (b * a < a);
}


I get an error indicator in the 4th line:

Error 3 17 ')' expected found '<'


If I do this on a newly created simple c++ project the error is the same.


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

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