g_assert_warning and downward compatibility



Hi all,

I thought I would ask this question here before going to the gtk-devel ML.

Earlier in january, I upgraded my gtk+ development environment on win32 from 2.4 to 2.6. I recently built gtkmm-2.4.10 against GTK+-2.6.1 and uploaded the new win32 installer to my page

http://www.pcpm.ucl.ac.be/~gustin/win32_ports/

I really thought there would no problems using this built with GTK+ 2.4. I guess I was wrong. Because of the new g_assert_function added to gmessage.h in GTK+-2.6, gtkmm-2.4 binaries built against GTK+-2.6 (shared libraries of course) are not compatible with GTK+-2.4. Applications fail at runtime with a "g_assert_warning is undefined" error.

My question is : is that the expected behavior, or is downward compatibility guaranteed between GTK+ 2.6 and 2.4 as long as you don't use new additions to the 2.6 API ?

Cedric



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