visual studio 2013 - Microsoft (R) C//C++ Optimizing Compiler has stopped working -


i wanna compile trinitycore visual studio 2013(x86 & x64 both tested) on windows 10

i error , test every solutions such as:

1.change /zm on additional options /zm500 /zm2000(maximum)

2.disable precompiled headers

3.disable optimization

4.re-install visual studio

5.re-install windows 10

visual studio error description:

error   1   error c1001: internal error has occurred in compiler.    \trinitycore-3.3.5\src\server\game\server\worldsocket.cpp   256 1   game  error   2   error c1060: compiler out of heap space  c\src\server\game\c1xx  game  error   3   error d8040: error creating or communicating child process c\src\server\game\cl    game 

event log:

faulting application name: cl.exe, version: 18.0.21005.1, time stamp: 0x524faabf faulting module name: c1xx.dll, version: 18.0.21005.1, time stamp: 0x524faa90 exception code: 0xc0000005 fault offset: 0x0025236e faulting process id: 0x1948 faulting application start time: 0x01d19f24d391755f faulting application path: c:\program files (x86)\microsoft visual studio 12.0\vc\bin\cl.exe faulting module path: c:\program files (x86)\microsoft visual studio 12.0\vc\bin\c1xx.dll report id: d98e09ae-0b18-11e6-b361-1008b14a12cc faulting package full name:  faulting package-relative application id:  

vs output errors:

trinitycore-3.3.5\src\server\game\server\worldsocket.cpp(256): fatal error c1001: internal error has occurred in compiler. 1>  (compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\convert.cpp', line 9608) 1>   work around problem, try simplifying or changing program near locations listed above. 1>  please choose technical support command on visual c++  1>   menu, or open technical support file more information 1>  opcodes.cpp 1>c1xx : fatal error c1060: compiler out of heap space 1>          internal error has occurred in compiler. 1>  (compiler file 'msc1.cpp', line 1325) 1>   work around problem, try simplifying or changing program near locations listed above. 1>  please choose technical support command on visual c++  1>   menu, or open technical support file more information 1>cl : command line error d8040: error creating or communicating child process ========== build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 

event log attached file:

version=1 eventtype=appcrash eventtime=131060826745545591 reporttype=2 consent=1 uploadtime=131060826747020586 reportidentifier=e3cb3d99-0b13-11e6-b361-1008b14a12cc integratorreportidentifier=e3cb3d98-0b13-11e6-b361-1008b14a12cc wow64=1 response.bucketid=d11da6a9b6e3e8a8c8d50161959694bb response.buckettable=1 response.legacybucketid=-389226431 response.type=4 sig[0].name=application name sig[0].value=cl.exe sig[1].name=application version sig[1].value=18.0.21005.1 sig[2].name=application timestamp sig[2].value=524faabf sig[3].name=fault module name sig[3].value=c1xx.dll sig[4].name=fault module version sig[4].value=18.0.21005.1 sig[5].name=fault module timestamp sig[5].value=524faa90 sig[6].name=exception code sig[6].value=c0000005 sig[7].name=exception offset sig[7].value=0025236e dynamicsig[1].name=os version dynamicsig[1].value=10.0.10586.2.0.0.256.48 dynamicsig[2].name=locale id dynamicsig[2].value=1033 ui[2]=c:\program files (x86)\microsoft visual studio 12.0\vc\bin\cl.exe ui[3]=microsoft (r) c//c++ optimizing compiler has stopped working ui[4]=windows can check online solution problem. ui[5]=check online solution , close program ui[6]=check online solution later , close program ui[7]=close program loadedmodule[0]=c:\program files (x86)\microsoft visual studio 12.0\vc\bin\cl.exe loadedmodule[1]=c:\windows\system32\ntdll.dll loadedmodule[2]=c:\windows\system32\kernel32.dll loadedmodule[3]=c:\windows\system32\kernelbase.dll loadedmodule[4]=c:\program files (x86)\msbuild\12.0\bin\filetracker.dll loadedmodule[5]=c:\windows\system32\advapi32.dll loadedmodule[6]=c:\windows\system32\msvcrt.dll loadedmodule[7]=c:\windows\system32\sechost.dll loadedmodule[8]=c:\windows\system32\rpcrt4.dll loadedmodule[9]=c:\windows\system32\sspicli.dll loadedmodule[10]=c:\windows\system32\cryptbase.dll loadedmodule[11]=c:\windows\system32\bcryptprimitives.dll loadedmodule[12]=c:\windows\system32\ole32.dll loadedmodule[13]=c:\windows\system32\combase.dll loadedmodule[14]=c:\windows\system32\gdi32.dll loadedmodule[15]=c:\windows\system32\user32.dll loadedmodule[16]=c:\windows\system32\msvcr120.dll loadedmodule[17]=c:\program files (x86)\microsoft visual studio 12.0\vc\bin\mspdb120.dll loadedmodule[18]=c:\windows\system32\version.dll loadedmodule[19]=c:\windows\system32\imm32.dll loadedmodule[20]=c:\windows\system32\cryptsp.dll loadedmodule[21]=c:\windows\system32\rsaenh.dll loadedmodule[22]=c:\windows\system32\bcrypt.dll loadedmodule[23]=c:\windows\system32\msvcp120.dll loadedmodule[24]=c:\program files (x86)\microsoft visual studio 12.0\vc\bin\mspdbcore.dll loadedmodule[25]=c:\program files (x86)\microsoft visual studio 12.0\vc\bin\c2.dll loadedmodule[26]=c:\windows\system32\shlwapi.dll loadedmodule[27]=c:\program files (x86)\microsoft visual studio 12.0\vc\bin\c1xx.dll loadedmodule[28]=c:\windows\system32\apphelp.dll state[0].key=transport.donestage1 state[0].value=1 friendlyeventname=stopped working consentkey=appcrash appname=microsoft (r) c//c++ optimizing compiler apppath=c:\program files (x86)\microsoft visual studio 12.0\vc\bin\cl.exe applicationidentity=00000000000000000000000000000000 

i confused because compile project many times steps , visual studio.

edit 1: create new win32project , put code on that:

#include "stdafx.h"  # define length 20  typedef unsigned char      uint8_t; typedef uint8_t uint8;  struct test {     uint8 intt[length] = {}; }; 

and when compile got error again:

error   1   error c1001: internal error has occurred in compiler.    \projects\win32project1\win32project1\win32project1.cpp 13  1   win32project1 

an "internal compiler error" (or ice) is, definition, compiler bug. there code in program that's triggering bug. crash seems triggered use of non-static data member initialisation (nsdmi), , microsoft admits support nsdmis in visual studio 2013 unreliable @ best:

unfortunately, code in our compiler (some of written 30 years ago) handling initialization suffers many longstanding architectural limitations. code sufficient c++03-style initialization, nsdmi, c++11 feature, caused exhibit these limitations severe bugs.

given this, may wish try upgrading toolchain. however, installation broken/corrupted.

either way, first task reinstall visual studio , see whether problem persists. perhaps try compiling project on different computer.

if doesn't fix it, need produce minimal testcase , submit developers review (at ms connect). please sure come here , link posted issue can update answer pertinent information developers (e.g. version bug fixed in).


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -