_swap_adl error occurred in Visual Studio 2008 compilation

Source: Internet
Author: User

Error C2039: ' _swap_adl ': Are not a ' STD ' c:/program files/microsoft Visual Studio 9.0/vc/include/xutility 2764
Error C3861: ' _SWAP_ADL ': identifier not found C:/Program files/microsoft Visual Studio 9.0/vc/include/xutility 2764

Before the program can be compiled, I do not know how today there is such a mistake. Another two programs were compiled, and so was the case. So I began to find a solution.

This error probably occurs when vs SP1 is installed, because some of the newer or installed software for VS, such as Windows SDK 6.1 (Windows SDK for Windows Server 2008 and. Net Framework 3.5), Replace some of the files inside the SP1 with older versions. Therefore, some compilation errors may occur.

The solution is to reinstall the sp1~

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.