I am trying to compile a project with VS 2012 that compiles successfully with VS 2003 and VS 2008. When compiling in debug, I get an error:1> gxtbmgr.cpp1>c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\afxtempl.h(354): fatal error C1001: An internal error has occurred in the compiler.1> (compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 211)1> To work around this problem, try simplifying or changing the program near the locations listed above.1> Please choose the Technical Support command on the Visual C++ 1> Help menu, or open the Technical Support help file for more information1> INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.exe'1> Please choose the Technical Support command on the Visual C++1> Help menu, or open the Technical Support help file for more information1>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.exe"' : return code '0x1'1> Stop.1>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\nmake.exe"' : return code '0x2'1> Stop.1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "NMAKE /f grid.mak ogasd" exited with code 2.The line referenced is the first line of this function:template<class TYPE, class ARG_TYPE>CArray<TYPE, ARG_TYPE>::~CArray(){ ASSERT_VALID(this); if (m_pData != NULL) { for( int i = 0; i < m_nSize; i++ ) (m_pData + i)->~TYPE(); delete[] (BYTE*)m_pData; }}I can successfully compile in Release, but I need to get a Debug build going.
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...