mercredi 4 mars 2020

getting error undeclared identifier when compiles in vs120

I am encountering error. look below code snippet..

typedef gconstpointer CRXMLNodePtr;

Here we are replacing gconstpointer with CRXMLNodePtr name in header file.

now here, in this snippet.

CRXMLNodePtr cur_node = NULL;

i am using this CRXMLNodePtr in cpp file. here i am encountering error undeclared identifier cur_node on vs120.

Interesting Point is , if i am compiling this code on vs142. it compiles perfectly... why???

Aucun commentaire:

Enregistrer un commentaire