I am compiling a legacy C code here and there is a lot of variables and struct members named ‘interface’, but VC2008 express is complaining about these, do you know how to disable this?
I already changed settings to compile the code only as a C code, but no effect on this.
Do a
before your code (eg. in the header file), this way everywhere where the keyword interface is used, the compilers sees ‘QQInterface’, which is not a keyword. If all code includes this define, you will not get compiler or linker errors.