<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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:<div class=""><br class=""></div><div class="">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 <a href="http://trac.webkit.org/changeset/179974/trunk/Source/WebCore/dom/Range.h" class="">http://trac.webkit.org/changeset/179974/trunk/Source/WebCore/dom/Range.h</a> for an example fix.</div><div class="">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 <a href="http://trac.webkit.org/changeset/180301/trunk/Source/WebCore/bridge/runtime_method.h" class="">http://trac.webkit.org/changeset/180301/trunk/Source/WebCore/bridge/runtime_method.h</a> for an example fix.</div><div class=""><br class=""></div><div class="">Alex</div></body></html>