Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 943 Bytes

compiler-warning-level-1-c4910.md

File metadata and controls

19 lines (15 loc) · 943 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4910
Compiler Warning (level 1) C4910
11/04/2016
C4910
C4910
67963560-fbca-4ca7-93db-06beaf7055f0

Compiler Warning (level 1) C4910

'<identifier>' : '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation

The explicit template instantiation named <identifier> is modified by both the __declspec(dllexport) and extern keywords. However, these keywords are mutually exclusive. The __declspec(dllexport) keyword means instantiate the template class, while the extern keyword means do not automatically instantiate the template class.

See also

Explicit Instantiation
dllexport, dllimport
General Rules and Limitations