C++ syntax Errors

Andreas Pakulat apaku at gmx.de
Tue Mar 4 15:52:58 GMT 2008


On 04.03.08 10:20:17, Alvin wrote:
> Hello all,
> 
> The code in question:
> 
> if(n < 0 || n > slider->maximum())   // <-- This line
> {
>      // report out-of-bounds error
> }
> 
> The if-statement line is showing up as a syntax error (pink highlight) in 
> KDevelop despite that the code compiles and is ok.

Thats a known problem with the C++ parser, all you can do is ignore the
problems reported. This won't be fixed in KDevelop3.

Andreas

-- 
You have a will that can be influenced by all with whom you come in contact.




More information about the KDevelop mailing list