AM_PATH_GTK and -Werror

This is re: 0.99.9, so if 0.99.10+ fixes this, ignore it.

If you compile with -Werror, and set in together with
other -W flags... then don't do that before AM_PATH_CHECK.  Otherwise
it won't `find' GTK.

How come? AM_PATH_CHECK runs a test prog which defines three int vars
for the holding the version number you specify.  Those it compares
against the major, minor, micro parts of GTK's version number... but
those are `guint's!


  configure:1524: warning: comparison between signed and unsigned

and this is an error with -Werror!

The fix: just make major,minor and micro in AM_PATH_CHECK be

Jürgen A. Erhard  eMail:  phone: (GERMANY) 0721 27326
	My WebHome:
	     GNOME Desktop Project (
	Win32 has many known work arounds. For example, Linux.

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