Message <Context> the __declspec(thread) storage class modifier of "<name>" is different from a previous declaration of "<name>" at <location>. Description If an object is declared with thread-local storage, then all declarations of that object must declare it with thread-local storage. User Action Either remove the invalid redeclaration or modify it to match the previous declaration.