[webkit-dev] link error when adding code to WebCore/testing/InternalSettings.cpp

Sailesh Agrawal sail at chromium.org
Sat Sep 8 16:52:18 PDT 2012


Hi all.

I'm having trouble fixing link errors due to the following code that I
added to WebCore/testing/InternalSettings.cpp:
void InternalSettings::setUsesOverlayScrollbars(bool flag)
{
    settings()->setUsesOverlayScrollbars(flag);
}

This gives me the following link error:
23>WebCoreTestSupport.lib(InternalSettings.obj) : error LNK2019: unresolved
external symbol "public: static void __cdecl
WebCore::Settings::setUsesOverlayScrollbars(bool)"
(?setUsesOverlayScrollbars at Settings@WebCore@@SAX_N at Z) referenced in
function "public: void __thiscall
WebCore::InternalSettings::setUsesOverlayScrollbars(bool)"
(?setUsesOverlayScrollbars at InternalSettings@WebCore@@QAEX_N at Z)
23>C:\cygwin\home\buildbot\WebKit\WebKitBuild\Debug\bin\DumpRenderTree.dll
: fatal error LNK1120: 1 unresolved externals

I tried exporting Settings::setUsesOverlayScrollbars in WebCore.exp.in but
this doesn't seem to have helped.

Does anyone know what I'm missing?

The full patch and error logs are here:
https://bugs.webkit.org/show_bug.cgi?id=96049

Thanks!
Sailesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120908/adfe48aa/attachment.html>


More information about the webkit-dev mailing list