After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619478 - Build warning in html/gnc-html-webkit.c
Build warning in html/gnc-html-webkit.c
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
git-master
Other Linux
: Normal normal
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2010-05-24 05:06 UTC by Andrew Brobston
Modified: 2018-06-29 22:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew Brobston 2010-05-24 05:06:09 UTC
In the version of Debian Linux I am running (lenny), the included WebKit for GTK+ is version 1.0.1.  When I try to build from svn (r19201) with Webkit enabled, it fails during "make install" with the error:

cc1: warnings being treated as errors
gnc-html-webkit.c: In function ‘impl_webkit_print’:
gnc-html-webkit.c:1102: error: implicit declaration of function ‘webkit_web_frame_print’

Checking the GTK documentation (http://webkitgtk.org/reference/webkitgtk-WebKitWebFrame.html), I see that webkit_web_frame_print is labeled "Since 1.1.5".  The function webkit_web_frame_print_full is also labeled "Since 1.1.5".  So, the #if HAVE(WEBKIT_WEB_FRAME_PRINT_FULL) directive will not necessarily help.  The svn log says that this code was added because some distributions do not have webkit_web_frame_print_full, but those distributions likely also lack webkit_web_frame_print.

To reproduce:

1. Have the development package for a pre-1.1.5 version of webkit installed.
2. Get svn source
3. Run autogen.sh
4. Run ./configure --with-html-engine=webkit --enable-compile-warnings=yes (and any other options you want)
5. make && make install
6. Note the above error message (obviously, the expected result is a successful compile)
Comment 1 John Ralls 2013-12-14 18:25:02 UTC
r23561
Comment 2 John Ralls 2018-06-29 22:39:44 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=619478. Please update any external references or bookmarks.