error C2065: '__LINE__Var' : undeclared identifier

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<P>hi,</P>
<P>I get the following error when I try to move a project from vc6 to vc8.</P><FONT size=1>
<P><FONT size=3>error C2065: __LINE__Var : undeclared identifier</FONT></P>
<P><FONT size=3>The error line goes to a macro definition which doesnt have a _LINE reference.</FONT></P>
<P><FONT size=3>And one more error which i get is</FONT></P><FONT size=3>
<P>error C2061: syntax error : identifier THIS</P>
<P>I tried to use #undef THIS and #define THIS. But it didnt work. Is it possible that old windows files are getting linked. In that case as well the definition of THIS hasnt changed and its the same.</P></FONT>
<P><FONT size=3>Any suggestion to fix the problems?</FONT></P>
<P><FONT size=3></FONT> </P>
<P><FONT size=3>regards,</FONT></P>
<P><FONT size=3>sk80.</FONT></P>
<P><FONT size=3></FONT> </P>
<P><FONT size=3></FONT> </P></FONT>

View the full article
 
Back
Top