Bug 112234 - [Gtk] Build fix when turn on the ENABLE_FILE_SYSTEM
Summary: [Gtk] Build fix when turn on the ENABLE_FILE_SYSTEM
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 01:26 PDT by Changwan Hong
Modified: 2017-03-11 11:00 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Changwan Hong 2013-03-13 01:26:42 PDT
When I build with --file-system, build failed with below.

../../Source/WebCore/platform/gtk/AsyncFileSystemGtk.cpp: In static member function `static WTF::PassOwnPtr<WebCore::AsyncFileSystem> WebCore::AsyncFileSystem::create()':
../../Source/WebCore/platform/gtk/AsyncFileSystemGtk.cpp:40:44: error: cannot allocate an object of abstract type `WebCore::AsyncFileSystemGtk'
In file included from ../../Source/WebCore/platform/gtk/AsyncFileSystemGtk.cpp:24:0:
../../Source/WebCore/platform/gtk/AsyncFileSystemGtk.h:32:7: note:   because the following virtual functions are pure within `WebCore::AsyncFileSystemGtk':
In file included from ../../Source/WebCore/platform/gtk/AsyncFileSystemGtk.h:25:0,
                 from ../../Source/WebCore/platform/gtk/AsyncFileSystemGtk.cpp:24:
../../Source/WebCore/platform/AsyncFileSystem.h:135:18: note: 	virtual void WebCore::AsyncFileSystem::createSnapshotFileAndReadMetadata(const WebCore::KURL&, WTF::PassOwnPtr<WebCore::AsyncFileSystemCallbacks>)
../../Source/WebCore/platform/gtk/AsyncFileSystemGtk.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type]
  CXX    Tools/WebKitTestRunner/InjectedBundle/gtk/Libraries_libTestRunnerInjectedBundle_la-ActivateFontsGtk.lo
make[1]: *** [Source/WebCore/platform/gtk/libWebCoreGtk2_la-AsyncFileSystemGtk.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
../../Source/WebKit2/UIProcess/API/gtk/tests/WebExtensionTest.cpp:62:1: warning: missing initializer for member `_GDBusInterfaceVTable::padding' [-Wmissing-field-initializers]

make[1]: *** wait: No child processes.  Stop.
make: *** [all] Error 2

Failed to build WebKit using 'make'!