tests in gtktest don't run in Debug configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OAH Build |
Won't Fix
|
Undecided
|
Haakon Sporsheim |
Bug Description
a lot of tests don't run in GtkTest.sln if you compile the stack in Debug configuration, it asserts:
"Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention."
and then stops due to "Unhandled exception at 0x00528d46 (libgdk-
I've tried testgtk, testinput, testtreeview
all test run fine in Release configuration
The whole gtk stack were compiled by myself from oah, I've just appended "-0" to the dll names, if you noticed that name difference between mine and the official oah ones.
First of all, the naming of output binaries are intentional, as Tor Lillqvist pointed out in https:/ /bugs.launchpad .net/oah/ +bug/343977
What you are doing here will break, and this is sort of why we created OAH in the first place.
Currently OAH configurations are a bit flawed. You cant and shouldn't mix Debug and Release binaries. I have a feeling that this is what you are doing here, and hence it will crash down in the C runtime. The fix for this is to introduce a new naming convention so that Debug, Release and ReleaseWdkCrt (which is not usable atm) will output different binaries