File default-source-warning.patch of Package glibc
Index: glibc-2.22/include/features.h
===================================================================
--- glibc-2.22.orig/include/features.h
+++ glibc-2.22/include/features.h
@@ -145,7 +145,7 @@
transitioned to use the new macro. */
#if (defined _BSD_SOURCE || defined _SVID_SOURCE) \
&& !defined _DEFAULT_SOURCE
-# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
+/* # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" */
# undef _DEFAULT_SOURCE
# define _DEFAULT_SOURCE 1
#endif