'identifier' : redefinition; different allocation specifiers
The declaration and definition of the symbol specified different attributes with the __declspec keyword.
The declaration and definition must specify the same attribute.