-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Hi @crosire,
This isn't a bug report, I just wanted to document that exceptions don't appear to be supported by blink (?)
I'm initially had issues with VS2019 but luckily found #30 which got me half-way there, except the default "Console Application" preset in VS comes with exceptions enabled, which prompts the following error.
Unresolved external symbol '?uncaught_exception@std@@YA_NXZ'.
Full output
$ blink.exe ConsoleApplication1.exe
Launching in target application ...
Entry point was written to address 000001B91B9D0000
Reading PE import directory ...
Reading PE debug info directory ...
Found program debug database: C:\Users\marcus\source\repos\ConsoleApplication1\x64\Debug\ConsoleApplication1.pdb
Found source file: C:\Users\marcus\source\repos\ConsoleApplication1\ConsoleApplication1.cpp
Starting compiler process ...
Started process with PID 14996
Starting file system watcher for 'C:\Users\marcus\source\repos\ConsoleApplication1' ...
Detected modification to: C:\Users\marcus\source\repos\ConsoleApplication1\ConsoleApplication1.cpp
ConsoleApplication1.cpp
Finished compiling "C:\Users\marcus\source\repos\ConsoleApplication1\ConsoleApplication1.temp.obj" with code 0.
Unresolved external symbol '?uncaught_exception@std@@YA_NXZ'.
The target application has exited with code 3221225786.
^C
Initially I suspected that maybe blink needs to be built with exceptions in order to support it, but it already was. Turning off C++ exceptions for the console application solved it.
Metadata
Metadata
Assignees
Labels
No labels