cannot export 'identifier': a previous declaration did not export it
The given identifier was declared to be exported, but a previous declaration did not export it.
All declarations of a given identifier must be either external or nonexternal.
The following is an example of this error:
extern int i; // i not exported
int __declspec(dllexport) i; // error, i exported