This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] resolv: Deprecate the "inet6" option and RES_USE_INET6 [BZ #19582]
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 21 Sep 2016 23:10:06 +0200
- Subject: Re: [PATCH] resolv: Deprecate the "inet6" option and RES_USE_INET6 [BZ #19582]
- Authentication-results: sourceware.org; auth=none
- References: <20160909144045.38F43401494C7@oldenburg.str.redhat.com>
On 09/09/2016 04:40 PM, Florian Weimer wrote:
+#if __GNUC_PREREQ (4,8)
+# define __glibc_macro_warning1(message) _Pragma (#message)
+# define __glibc_macro_warning(message) \
+ __glibc_macro_warning1 (GCC warning message)
+#else
+# define __glibc_macro_warning(msg)
+#endif
Any comments about this new warning mechanism?
Thanks,
Florian