mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 08:22:16 +01:00 
			
		
		
		
	tests: disable deprecation warnings for tests
We need to test deprecated functions, so don't warn us for doing so.
This commit is contained in:
		| @@ -2,8 +2,9 @@ include $(top_srcdir)/Makefile.decl | ||||
|  | ||||
| SUBDIRS=gobject refcount | ||||
|  | ||||
| AM_CPPFLAGS = 				\ | ||||
| 	$(gmodule_INCLUDES) 		\ | ||||
| AM_CPPFLAGS = \ | ||||
| 	$(gmodule_INCLUDES)			\ | ||||
| 	-DGLIB_DISABLE_DEPRECATION_WARNINGS	\ | ||||
| 	$(GLIB_DEBUG_FLAGS) | ||||
|  | ||||
| AM_CFLAGS = -g | ||||
|   | ||||
| @@ -2,6 +2,7 @@ include $(top_srcdir)/Makefile.decl | ||||
|  | ||||
| INCLUDES =					\ | ||||
| 	$(gmodule_INCLUDES)			\ | ||||
| 	-DGLIB_DISABLE_DEPRECATION_WARNINGS	\ | ||||
| 	$(GLIB_DEBUG_FLAGS) | ||||
|  | ||||
| libglib = $(top_builddir)/glib/libglib-2.0.la | ||||
|   | ||||
| @@ -2,6 +2,7 @@ include $(top_srcdir)/Makefile.decl | ||||
|  | ||||
| INCLUDES =					\ | ||||
| 	$(gmodule_INCLUDES) 			\ | ||||
| 	-DGLIB_DISABLE_DEPRECATION_WARNINGS	\ | ||||
| 	$(GLIB_DEBUG_FLAGS) | ||||
|  | ||||
| libglib = $(top_builddir)/glib/libglib-2.0.la | ||||
|   | ||||
		Reference in New Issue
	
	Block a user