Den 2015-07-01 20:20, Kjell Ahlstedt
skrev:
Den 2015-07-01 16:42, John Emmas
skrev:
On 01/07/2015 14:28, Kjell
Ahlstedt wrote:
Code for gtkmm 2 must be generated with an old version of
gmmproc (i.e. glibmm) that includes glibmm.h in all
generated header files. Gtkmm 2.24.3 was generated with a
newer gmmproc, which does not include glibmm.h.
Interesting... AFAICT all generated source files (".cc" files)
seem to be #including glibmm.h - but the only header files which
include it are:-
gtk/gtkmm.h
gtk/gtkmm/stockid.h
Needless to say, 'gdkmm/pixbufanimationiter.h' doesn't #include
either of them.
John
Where have you found your gtkmm 2.24.4? http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.24/gtkmm-2.24.4.tar.xz
contains about 200 header files with #include <glibmm.h>.
If you generate .h files yourself, by configuring with
--enable-maintainer-mode, you must use an old version of gmmproc
(glibmm), 2.31.0 or earlier.
Kjell
This is the change that was made in gtkmm 3 after gmmproc
stopped including glibmm.h in all generated header files:
https://git.gnome.org/browse/gtkmm/commit/?id=46ada3b5c7ffcecfa062e83ec1f62562c806879f
Something similar must be done in gtkmm 2, if it shall be possible
to generate useful code with newer versions of glibmm. But with
the newest version in the master branch in the git repository, it
would still not be possible, because glibmm/tools/m4/list.m4 has
been removed.
Kjell
|