Closed cztomczak closed 7 years ago
The fix is to define CEF_CALLBACK __stdcall. Patch:
diff --git a/include/internal/cef_export.h b/include/internal/cef_export.h
index 2813253b..e78be029 100644
--- a/include/internal/cef_export.h
+++ b/include/internal/cef_export.h
@@ -48,7 +48,11 @@
#elif defined(COMPILER_GCC)
#define CEF_EXPORT __attribute__ ((visibility("default")))
+#ifdef OS_WIN
+#define CEF_CALLBACK __stdcall
+#else
#define CEF_CALLBACK
+#endif
#endif // COMPILER_GCC
Fixed in commit c318fa2.
I am in the process of updating the cefcapi project to CEF branch 3029. On Linux everything went fine. However on Windows I am getting exception code 80000003 during a call to cef_execute_process. Here are the logs with backtrace:
Building with gcc on Windows. I've tried both mingw GCC (5.3.0) and TDM-gcc (5.1.0) and both end up with that same exception code. From what I know I can't use PDB files with gdb to get a meaningful stack trace.
On Linux it runs fine, but gcc version is 4.8.2, so it's different.