The information in this article applies to:
SYMPTOMSWhen calling the functions defined in SWAP.H from a C++ program, the link fails with an unresolved external, such as this one:
CAUSEThe header file (SWAP.H) in the MSVC20\M68K\INCLUDE directory is missing the necessary extern "C" block around the swap function declarations. RESOLUTIONSurround the include of SWAP.H with an extern "C" block, as in this example:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSample Code
Additional query words: buglist2.00
Keywords : kbLangCPP kbVC |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |