window.cc:950:117: error: invalid conversion from 'guint {aka unsigned int}' to 'GdkWindowHints'
- From: YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist laposte net>
- To: gtkmm-list gnome org
- Subject: window.cc:950:117: error: invalid conversion from 'guint {aka unsigned int}' to 'GdkWindowHints'
- Date: Thu, 26 Feb 2015 02:42:10 +0100
Hello,
I try to compile gtkmm-3.10.1:
$ ./configure --prefix=/usr
$ make
make all-recursive
make[1]: Entering directory `/tmp/build/gtkmm-3.10.1'
Making all in tools
make[2]: Entering directory `/tmp/build/gtkmm-3.10.1/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/build/gtkmm-3.10.1/tools'
Making all in gdk/gdkmm
make[2]: Entering directory `/tmp/build/gtkmm-3.10.1/gdk/gdkmm'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I../.. -DG_LOG_DOMAIN=\"gdkmm\"
-DGDKMM_BUILD=1 -pthread -pthread -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/pangomm-1.4
-I/usr/lib/pangomm-1.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include
-I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng14 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -Wall -g -O2 -MT
window.lo -MD -MP -MF .deps/window.Tpo -c -o window.lo window.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I../.. -DG_LOG_DOMAIN=\"gdkmm\" -DGDKMM_BUILD=1 -pthread
-pthread -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/glibmm-2.4
-I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include
-I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gtk-3.0
-I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -Wall -g -O2 -MT window.lo -MD -MP -MF .deps/window.Tpo
-c window.cc -fPIC -DPIC -o .libs/window.o
window.cc: In static member function 'static void Gdk::Window::constrain_size(const Geometry&, guint, int,
int, int&, int&)':
window.cc:950:117: error: invalid conversion from 'guint {aka unsigned int}' to 'GdkWindowHints'
[-fpermissive]
gdk_window_constrain_size(const_cast<GdkGeometry*>(&(geometry)), flags, width, height, &(new_width),
&(new_height));
^
In file included from /usr/include/gtk-3.0/gdk/gdktestutils.h:26:0,
from /usr/include/gtk-3.0/gdk/gdk.h:54,
from ../gdkmm/color.h:36,
from ../gdkmm/dragcontext.h:30,
from ../gdkmm/window.h:31,
from window.cc:9:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1053:12: error: initializing argument 2 of 'void
gdk_window_constrain_size(GdkGeometry*, GdkWindowHints, gint, gint, gint*, gint*)' [-fpermissive]
void gdk_window_constrain_size (GdkGeometry *geometry,
^
make[2]: *** [window.lo] Error 1
make[2]: Leaving directory `/tmp/build/gtkmm-3.10.1/gdk/gdkmm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/build/gtkmm-3.10.1'
make: *** [all] Error 2
I am on Slackware 14.1 and I am using:
-glibmm-2.38.2
-gtk+3-3.14.9
-gdk-pixbuf2-2.30.8
-pango-1.36.8-i486
-atk-2.14.0-i486
-glib2-2.42.1-i486
Do you see how to resolve this problem please?
Thank you.
Best regards.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]