From a66bf6e9f2398a53d63febb07f96f6f051ffea28 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 28 Aug 2006 17:20:02 +0000 Subject: [PATCH] Add a note about G_DISABLE_DEPRECATED. (#353172, Matt Barnes) 2006-08-28 Matthias Clasen * glib/compiling.sgml: Add a note about G_DISABLE_DEPRECATED. (#353172, Matt Barnes) --- docs/reference/ChangeLog | 5 +++++ docs/reference/glib/compiling.sgml | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 6cfc9a96..26ea4420 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2006-08-28 Matthias Clasen + + * glib/compiling.sgml: Add a note about G_DISABLE_DEPRECATED. + (#353172, Matt Barnes) + Wed Aug 16 13:55:39 2006 Tim Janik * glib/tmpl/trash_stack.sgml: added notes about complexity. diff --git a/docs/reference/glib/compiling.sgml b/docs/reference/glib/compiling.sgml index 2bd1a5f7..9459b60d 100644 --- a/docs/reference/glib/compiling.sgml +++ b/docs/reference/glib/compiling.sgml @@ -61,6 +61,12 @@ $ cc `pkg-config --cflags --libs glib-2.0` hello.c -o hello + +If you want to make sure that your program doesn't use any deprecated +functions, you can define the preprocessor symbol G_DISABLE_DEPRECATED +by using the command line option -DG_DISABLE_DEPRECATED=1. + + -- 2.34.1