"CALL" keyword/modifier?

Jan 31, 2010 at 7:10pm
Hi,

I'm trying to compile a project, but am running into errors. Opening up the IDE, I am getting problems listed for the following:

(.h file)
virtual void CALL destroy() = 0;

(.cpp file)
void CALL destroy()


The IDE is saying there is a syntax error before "destroy", meaning the CALL keyword. There are many instances of CALL in the file, and all are marked as error.


I'm not really a beginner, though it's been awhile since I've programmed heavily in C++.


I'm using Linux, but I'm not sure if this is a Linux-specialized thing or not. What is this keyword?
Jan 31, 2010 at 7:14pm
CALL is not a keyword

It was probably #defined in some header as a calling convention, but you no longer have that header included, so the #define is missing.

possible solutions:

1) Remove all instances of CALL
2) Find whatever header has CALL defined and include it
3) redefine your own CALL:

1
2
3
#ifndef CALL
#define CALL
#endif 
Topic archived. No new replies allowed.