https://bugzilla.redhat.com/show_bug.cgi?id=1067110
--- Comment #13 from Jens Petersen petersen@redhat.com --- https://github.com/ghc/ghc/blob/master/includes/Stg.h#L49 currently has:
: #ifndef IN_STG_CODE # define IN_STG_CODE 1
// Turn on C99 for .hc code. This gives us the INFINITY and NAN // constants from math.h, which we occasionally need to use in .hc (#1861) # define _ISOC99_SOURCE
// We need _BSD_SOURCE so that math.h defines things like gamma // on Linux # define _BSD_SOURCE #endif :
Any suggestions for now to update that to prefer _DEFAULT_SOURCE upstream in a portable manner?
golang@lists.fedoraproject.org