I'm going crazy, pointer problem


I have a * object created as new();
ascii_file * G_w_ascii_out = new ascii_file;

I have a function that receive a pointer to this ascii_file :
My call;
w_comm_parent->w_export(G_w_ascii_out);

I have the error :

error: no matching function for call to 'W_comm::w_export(W_inpout::W_ascii*& )'
candidate is: void W_comm::w_export(W_inpout::W_ascii* )

I don't understand whats happen. I have an identical call at other place, and that compiles right .

Aaaaahhhh!
Topic archived. No new replies allowed.