KDE/kdevelop/languages/cpp/expressionparser

Andreas Pakulat apaku at gmx.de
Wed Jun 20 15:15:27 UTC 2007


On 20.06.07 17:10:58, Andras Mantia wrote:
> On Wednesday 20 June 2007, Andreas Pakulat wrote:
> > Well, I did check the standard quickly and in fact nowhere does it
> > have an "empty statemtent", so I suspect ";" is not allowed according
> > to the C++ standard. And of course the grammar for namespace doesn't
> > include a ; at the end ;)
> 
> BTW, it would be better if KDevelop 3.4 would show the missing ";" in 
> some cases as an error, as now I am tempted to put there just to 
> silence it.

IIRC the problem is with macro's that are not in the same source only.
Add the macro definitions to Kdevelop Settings->C++ Parsing. That works
for me.

Andreas

-- 
You too can wear a nose mitten.




More information about the KDevelop-devel mailing list