The information in this article applies to:
SUMMARYUse of "extern "C"" in source files that have a .C extension causes error C2059, and results in this error message:
CAUSEIn the C language, the string-literal "C" is not recognized. It is used in C++ to prevent name decoration. RESOLUTIONRemove the string-literal "C" in extern declarations, or use the following in the function declaration:
STATUSThis behavior is by design. MORE INFORMATIONSample Code to Reproduce Behavior
Additional query words: 9.0 9.00 9.1 9.10
Keywords : kberrmsg kbLangC kbLangCPP kbVC200 kbVC210 kbVC220 kbVC400 kbVC410 kbVC500 kbVC600 |
Last Reviewed: July 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |