Re: Missing #include from pixbufanimationiter.h ?

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:-


Needless to say, 'gdkmm/pixbufanimationiter.h' doesn't #include either of them.


Where have you found your gtkmm 2.24.4? 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.


This is the change that was made in gtkmm 3 after gmmproc stopped including glibmm.h in all generated header files:
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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]