diff options
| author | Sergei Trofimovich <slyfox@gentoo.org> | 2014-11-12 23:18:38 +0000 |
|---|---|---|
| committer | Sergei Trofimovich <slyfox@gentoo.org> | 2014-11-12 23:26:35 +0000 |
| commit | c65221bdbdebb0a6e615970cb0ca78abcb4202f8 (patch) | |
| tree | 76f8e241336c52b6343307c63062775898e4718a /compiler | |
| parent | 1e2002d8e89e3267e2c9c8d92235ee083a272657 (diff) | |
| download | haskell-c65221bdbdebb0a6e615970cb0ca78abcb4202f8.tar.gz | |
includes/Stg.h: define _DEFAULT_SOURCE for glibc-2.20
_BSD_SOURCE we are using for 'gamma()' and friends
was deprecated in glibc-2.20 in favour of '_DEFAULT_SOURCE'.
gcc says:
In file included from /usr/include/math.h:26:0:
0,
from includes/Stg.h:69,
from /tmp/ghc19488_0/ghc19488_2.hc:3:
/usr/include/features.h:148:3:
warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
Patch fixes testsuite failures on UNREG
(stderr are not cluttered by warnings anymore).
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions
