problem reporter bug

Andreas Wuest AndreasWuest at gmx.de
Sun Apr 6 13:24:04 UTC 2003


Hi,

the problem reporter shows a problem, even though the code is definitely ok
and can be compiled without any problems. To reproduce add the following
struct definition to a header file : 

  struct NEXT_MOVE
  {
    int orientation;
    int srcX;
    int srcY;
    int destX;
    int destY;
    bool movePossible;
  } nextMove;

add the next 2 lines to the cpp file :

nextMove = (NEXT_MOVE) { direction, nextMove.srcX, nextMove.srcY, 
                                             col, i - 1, true };

The problem reporter shows the line a incorrect, the message i get is :
';' expected found '{'

I am using the cvs from today and gcc 3.2.2

Thanks and keep up the great work,

 Andreas 





More information about the KDevelop-devel mailing list