[Bug 57156] New: problem reporter show correct line as "problematic line"

andreaswuest at gmx.de andreaswuest at gmx.de
Sat Apr 12 11:47:04 UTC 2003


------- 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=57156     
           Summary: problem reporter show correct line as "problematic line"
           Product: kdevelop
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: andreaswuest at gmx.de


Version:           Current CVS version (using KDE KDE 3.1.1)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.2 
OS:          Linux

hi,

the gideon problem reporter shows correct as problematic.
however the line is perfectly ok and compiles fine. To
reproduce the bug add the following structure to a class header file :

  struct NEXT_MOVE
  {
    int orientation; // TOP, RIGHT, BOTTOM, LEFT
    int srcX;
    int srcY;
    int destX;
    int destY;
    bool movePossible;
    bool fromOutside;
  } nextMove;

now add the following line somewhere in the class implementation :

   nextMove = (NEXT_MOVE) { 0, 0, 0, 0, 0, true, true };

The reporter shows the line as bad and gives the following reason :
';' expected found '{'
';' expected found '}'

the bug is present in the current cvs version.

bye,

 Andreas




More information about the KDevelop-devel mailing list