Visual Studio For Mac Does Not Compile Exe
Posted By admin On 20.12.18While compiling a large project one of the.cpp files consistently causes cl.exe to crash. Visual studio does not report this crash as an internal compiler error. However the 'Application Event Log' reports an 'Application Error' with 'cl.exe' being the faulting application name. The 'output' (Build) window in visual studio doesn't indicate that the compiler crashed.
It just looks like the compile is taking an indefinitely long time. The Win 10 task manager 'details' does show a cl.exe process. Attempting to cancel the build produces 'warning MSB4220: Waiting for the currently executing task 'CL' to cancel' in the output window. This never completes.
Attempting to exit visual studio produces a 'The build must be stopped before the solution can be closed.' At this point the compile never completes and cannot be cancelled. Tried killing devenv.exe with 'End Process Tree' from the task manager. After restarting Visual Studio, the the cpp file that caused the cl.exe crash is in use (?) so cannot be saved. A system reboot is required before this file can be saved.
Granted, the compiler should not crash. That's a separate bug. However when it does, visual studio should indicate it crashed, and allow a developer to make changes & recompile. The current behavior makes it extremly painful to try to workaround a compiler crash. This is with Visual Studio 15.4.3. '\pdf-xchange for mac\' +download'''. I believe the structured bindings crash is not similar.
Can you actually build for OSX from Visual Studio 2012? Just downloaded the trial. Only iOS and Android come up as install options. Even Project Templates in Visual Studio 2012 only show Android and iOS as types available. Visual Studio for Mac. Visual Studio 2017 does not allow debug or compile (options are greyed out). You can also try to compile a single C+ file by using cl.exe. Vswhere.exe: A stand-alone native executable that is redistributable and can be used to locate installed Visual Studio product instances for use in build and deployment scripts. The tool supports emitting different formats so far including plain text, JSON, and XML. (If you want an editor that does run natively, Xamarin Studio or Visual Studio Code might fit the bill). There are multiple options for running Windows on a Mac. Every Mac comes with Apple’s Boot Camp software, which helps you install Windows into a separate partition.
Firefox free download for mac 10.8.5. The structured bindings crash you mention reports a compiler error in the output. My reported problem did not report a compiler error. In the output window, it appears that the compile is ongoing.
There's no error report. After a while, I checked the task manager to see if cl.exe was running. Cl.exe was not there. The only indication of a cl.exe crash was in the windows error log. The crash itself seems to be the result of an comparison of std::optional to nullopt within a lambda.

There's more to it than that though and I haven't been able to repro it in a isolated project. I reported this as a separate issue because I found the 'silent hang requiring a reboot' behavior a lot more inconvenient than a 'compiler error' report. The std::optional / nullopt / lambda bug report is at: Thank you, Jon.
While compiling a large project one of the.cpp files consistently causes cl.exe to crash. Visual studio does not report this crash as an internal compiler error. However the 'Application Event Log' reports an 'Application Error' with 'cl.exe' being the faulting application name. The 'output' (Build) window in visual studio doesn't indicate that the compiler crashed. It just looks like the compile is taking an indefinitely long time.
The Win 10 task manager 'details' does show a cl.exe process. Attempting to cancel the build produces 'warning MSB4220: Waiting for the currently executing task 'CL' to cancel' in the output window. This never completes. Attempting to exit visual studio produces a 'The build must be stopped before the solution can be closed.'
C Compiler For Visual Studio
At this point the compile never completes and cannot be cancelled. Tried killing devenv.exe with 'End Process Tree' from the task manager. After restarting Visual Studio, the the cpp file that caused the cl.exe crash is in use (?) so cannot be saved. A system reboot is required before this file can be saved.
Build Executable Visual Studio
Granted, the compiler should not crash. That's a separate bug. However when it does, visual studio should indicate it crashed, and allow a developer to make changes & recompile. The current behavior makes it extremly painful to try to workaround a compiler crash.