1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Turn GTK3 deprecation warnings back on.

After the last few commits, we now compile cleanly against GTK3 even
without -Wno-deprecated-declarations, so let's turn the default
warnings back on to ensure we don't regress that.
This commit is contained in:
Simon Tatham 2015-08-25 19:59:45 +01:00
parent 856a0ecc4a
commit 54dcfb033c

View File

@ -93,10 +93,7 @@ esac
case "$gtk_version_desired:$gtk" in
3:none | any:none)
ifdef([AM_PATH_GTK_3_0],[
AM_PATH_GTK_3_0([3.0.0], [
gtk=3
GTK_CFLAGS="$GTK_CFLAGS -Wno-deprecated-declarations"
], [])
AM_PATH_GTK_3_0([3.0.0], [gtk=3], [])
],[AC_WARNING([generating configure script without GTK 3 autodetection])])
;;
esac
@ -201,8 +198,7 @@ EOF
elif test "$gtk" = "3"; then cat <<EOF
PuTTY will be built with GTK 3. Be aware that the GTK 3 support in
this codebase is UNFINISHED AND EXPERIMENTAL! Many deprecated
functions are used, and there are known layout bugs.
this codebase is UNFINISHED AND EXPERIMENTAL!
EOF
fi