Last week I switched the iOS and Mac builds to use WEBCORE_EXPORT instead of 
WebCore.exp.in.  This should make maintenance easier, but there are a few 
quirks everybody should be aware of:

1) Do not use WEBCORE_EXPORT before a function defined in a header.  This will 
cause check-for-weak-vtables-and-externals to fail sometimes.  See 
http://trac.webkit.org/changeset/179974/trunk/Source/WebCore/dom/Range.h 
<http://trac.webkit.org/changeset/179974/trunk/Source/WebCore/dom/Range.h> for 
an example fix.
2) If you need to export the vtable of a class, put WEBCORE_EXPORT between 
“class" and the class name, but not before method and member variable 
declarations.  Otherwise Visual Studio will not compile successfully after we 
get rid of WebKitExports.def.in.  See 
http://trac.webkit.org/changeset/180301/trunk/Source/WebCore/bridge/runtime_method.h
 
<http://trac.webkit.org/changeset/180301/trunk/Source/WebCore/bridge/runtime_method.h>
 for an example fix.

Alex
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to