Summary: | [Gtk] soup/ResourceHandleSoup.cpp:533: error: 'g_mapped_file_free' was not declared in this scope | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Ronis <David.Ronis> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Blocker | CC: | gustavo, jmalonzo | ||||
Priority: | P2 | Keywords: | Gtk | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
David Ronis
2009-07-13 12:21:59 PDT
Grepped the include dir for the definition: Here's what I see in glib-2.0/glib/gmappedfile.h: #ifndef G_DISABLE_DEPRECATED void g_mapped_file_free (GMappedFile *file); #endif Looks like this is being phased out. In any event, I manually added the declaration to the webkit file and am resuming the compilation. Manually adding the declaration, while allowing thing to compile, doesn't work. Things die linking. Bacially it's not in glib. It seems that g_mapped_file_free needs to be replaced by g_mapped_file_unref. Doing so lets the compile finish. Created attachment 33002 [details]
Use g_mapped_file_unref for GLIB version 2.22 onwards.
Comment on attachment 33002 [details]
Use g_mapped_file_unref for GLIB version 2.22 onwards.
yep! r=me
(In reply to comment #5) > (From update of attachment 33002 [details]) > yep! r=me Landed as http://trac.webkit.org/changeset/46101 |