Problem with code parser

Andreas Pakulat apaku at gmx.de
Sun Oct 14 09:30:47 BST 2012


Hi,

You did not do anything wrong I think. our parser is simply not aleays able
to grok valid code properly. File a bug and either live with the popup or
avoid the define.

Andreas

Am Samstag, 13. Oktober 2012 schrieb Leon Pollak :

> Hello, all.
>
> I wrote the code similar to the following (reduced example, but work and
> illustrates the issue):
>
> #define DEF1() void Test(int i) { typedef int ttCmnd; \
>                 ttCmnd& Cmnd=*(ttCmnd*)&i;
>
> DEF1()
>         Cmnd = 0;
> }
>
> This code compiles fine, but parser insists that it does not know the
> Cmnd variable and pops-up the call-out suggesting to define it each time
> I hoover the cursor over the 'Cmnd' variable.
>
> What do I do wrong?
>
> Thanks ahead.
> --
> Leon
>
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org <javascript:;>
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20121014/8be2b356/attachment.html>


More information about the KDevelop mailing list