buiding gtkmm application without deprecrated api stuff



Hi guys,

I intending to move from gtkmm version 2.4 towards gtkmm 3.0 and I tried to follow the instruction found on

http://www.murrayc.com/blog/permalink/2011/01/18/avoiding-use-of-deprecated-api/

I downloaded the mm-warnings.m4 macro and stored it in the m4 directory

I added :

# Warning when using gtkmm version 3.0 deprecated api parts
MM_ARG_ENABLE_WARNINGS([meteolab_WFLAGS],[-Wall],
    [-Wall -Wextra -Wno-missing-field-initializers -DGSEAL_ENABLE],
    [G GDK GDK_PIXBUF GTK GLIBMM GTKMM CAIROMM])

to my configure.ac and added "AM_CFLAGS = $(meteolab_WFLAGS)" to my Makefile.am

Running autoreconf gives me the following errors:

configure.ac:23: warning: _MM_PRE_INIT is m4_require'd but not m4_defun'd
m4/mm-warnings.m4:68: MM_ARG_ENABLE_WARNINGS is expanded from...
configure.ac:23: the top level

and it doesn't seems to work.

Can someone help me out???

Thanks

Kees Kling





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