unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: haawda <stefan-husmann@t-online.de>
To: Emacs-devel@gnu.org
Subject: Re: webkit integration in the xwidget branch
Date: Sat, 9 Jul 2011 15:19:42 -0700 (PDT)	[thread overview]
Message-ID: <32029464.post@talk.nabble.com> (raw)
In-Reply-To: <m3ei2d9161.fsf@verona.se>


I got a build problem with the emacs xwidget branch under Arch Linux x86_64
with gcc4.6.1 and gtk 2.24.5.

ick   -I/usr/include/libxml2   -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include   -DORBIT2=1 -pthread -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include/freetype2      -MMD -MF deps/xwidget.d  
-Wimplicit-function-declaration -Wold-style-definition
-Wdeclaration-after-statement  -march=x86-64 -mtune=generic -O2 -pipe
xwidget.c
xwidget.c: In function 'webkit_osr_redraw_child':
xwidget.c:284:3: warning: passing argument 1 of
'gtk_offscreen_window_get_pixmap' from incompatible pointer type [enabled by
default]
/usr/include/gtk-2.0/gtk/gtkoffscreenwindow.h:55:12: note: expected 'struct
GtkOffscreenWindow *' but argument is of type 'struct GtkContainer *'
xwidget.c:321:2: error: invalid preprocessing directive #elseif
xwidget.c:322:12: error: redeclaration of 'cr' with no linkage
xwidget.c:280:12: note: previous declaration of 'cr' was here
xwidget.c:322:3: warning: ISO C90 forbids mixed declarations and code
[-Wdeclaration-after-statement]
xwidget.c:323:22: error: conflicting types for 'src_pixmap'
xwidget.c:283:14: note: previous declaration of 'src_pixmap' was here
xwidget.c:324:3: warning: implicit declaration of function
'gtk_offscreen_window_get_surface' [-Wimplicit-function-declaration]
xwidget.c:324:14: warning: assignment makes pointer from integer without a
cast [enabled by default]
xwidget.c:349:3: warning: passing argument 2 of 'cairo_set_source_surface'
from incompatible pointer type [enabled by default]
/usr/include/cairo/cairo.h:561:1: note: expected 'struct cairo_surface_t *'
but argument is of type 'struct cairo_surface_t **'
xwidget.c: In function 'xwidget_osr_draw_callback':
xwidget.c:403:3: warning: passing argument 2 of 'gtk_widget_draw' from
incompatible pointer type [enabled by default]
/usr/include/gtk-2.0/gtk/gtkwidget.h:883:9: note: expected 'const struct
GdkRectangle *' but argument is of type 'struct cairo_t *'
xwidget.c: In function 'xwidget_osr_button_callback':
xwidget.c:417:32: warning: initialization from incompatible pointer type
[enabled by default]
xwidget.c:424:3: warning: passing argument 1 of 'gtk_main_do_event' from
incompatible pointer type [enabled by default]
/usr/include/gtk-2.0/gtk/gtkmain.h:143:10: note: expected 'union GdkEvent *'
but argument is of type 'struct GdkEventButton *'
xwidget.c: In function 'x_draw_xwidget_glyph_string':
xwidget.c:687:5: warning: passing argument 1 of 'gtk_widget_queue_draw' from
incompatible pointer type [enabled by default]
/usr/include/gtk-2.0/gtk/gtkwidget.h:864:9: note: expected 'struct GtkWidget
*' but argument is of type 'struct GtkContainer *'
xwidget.c: In function 'syms_of_xwidget':
xwidget.c:944:13: error: 'Sxwidget_webkit_goto_uri' undeclared (first use in
this function)
xwidget.c:944:13: note: each undeclared identifier is reported only once for
each function it appears in
xwidget.c:945:13: error: 'Sxwidget_webkit_execute_script' undeclared (first
use in this function)
xwidget.c:946:13: error: 'Sxwidget_webkit_get_title' undeclared (first use
in this function)
xwidget.c: In function 'xwidget_view_delete_all_in_window':
xwidget.c:1058:9: warning: passing argument 1 of 'gtk_widget_destroy' from
incompatible pointer type [enabled by default]
/usr/include/gtk-2.0/gtk/gtkwidget.h:837:9: note: expected 'struct GtkWidget
*' but argument is of type 'struct GtkContainer *'
make[2]: *** [xwidget.o] Error 1
make[2]: Leaving directory
`/home/haawda/paketierung/maintained_by_me/emacs-xwidget/src/emacs-xwidget-build/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory
`/home/haawda/paketierung/maintained_by_me/emacs-xwidget/src/emacs-xwidget-build'
make: *** [bootstrap] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
-- 
View this message in context: http://old.nabble.com/webkit-integration-in-the-xwidget-branch-tp31949621p32029464.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.




  parent reply	other threads:[~2011-07-09 22:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 20:00 webkit integration in the xwidget branch joakim
2011-06-28 20:12 ` joakim
2011-06-29  8:33 ` Julien Danjou
2011-06-29 23:37   ` joakim
2011-07-09 22:19 ` haawda [this message]
2011-07-10 17:43   ` joakim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32029464.post@talk.nabble.com \
    --to=stefan-husmann@t-online.de \
    --cc=Emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).