zhangqd / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Wrong calling convention for callbacks when using GCC compiler on Windows #1209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The code in cef_export.h should have the #ifdef OS_WIN condition, something 
like this:

  #elif defined(COMPILER_GCC)

  #define CEF_EXPORT __attribute__ ((visibility("default")))

  #ifdef OS_WIN
  #define CEF_CALLBACK __stdcall
  #else
  #define CEF_CALLBACK
  #endif

Topic for reference:
http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=11505

Original issue reported on code.google.com by czarek.t...@gmail.com on 18 Feb 2014 at 4:15

GoogleCodeExporter commented 9 years ago
CEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/cef/issue/1209

Original comment by magreenb...@gmail.com on 14 Mar 2015 at 3:30