New(!?) warning makes configure for 21.4 break

Mats Lidell <[email protected]>
Newsgroups gmane.emacs.xemacs.beta
Organization The XEmacs Project
Message-ID <[email protected]>
Hi,

It seems like from some version of glibc, mid April on the buildbot machine, there is this warning when compiling: 

    # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"

I suspect that this makes configure fail at finding "X11/Intrincis.h" for 21.4. In 21.5 we seem to have a completely different way to check for this headerfile that is not upset by some little warnings.

This is, or will be, a show stopper for 21.4 on Gentoo at least. What is the right thing to do here? Go over our code and get rid of or replace the defines according to what the warning suggests or make the configure check more robust when it comes to warnings or maybe both?

Yours
-- 
%% Mats
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.