Hi,<div><br></div><div>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.</div><div><br></div><div>Andreas<span></span><br>
<br>Am Samstag, 13. Oktober 2012 schrieb Leon Pollak :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, all.<br>
<br>
I wrote the code similar to the following (reduced example, but work and<br>
illustrates the issue):<br>
<br>
#define DEF1() void Test(int i) { typedef int ttCmnd; \<br>
                ttCmnd& Cmnd=*(ttCmnd*)&i;<br>
<br>
DEF1()<br>
        Cmnd = 0;<br>
}<br>
<br>
This code compiles fine, but parser insists that it does not know the<br>
Cmnd variable and pops-up the call-out suggesting to define it each time<br>
I hoover the cursor over the 'Cmnd' variable.<br>
<br>
What do I do wrong?<br>
<br>
Thanks ahead.<br>
--<br>
Leon<br>
<br>
_______________________________________________<br>
kdevelop mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'kdevelop@kdevelop.org')">kdevelop@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop</a><br>
</blockquote></div>