Re: base not detecting Double/Float machine sizes (QNXNTO)
Ian Lynagh <[email protected]> Sun, 6 Jan 2013 13:30:34 +0000
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Dec 20, 2012 at 01:20:46PM -0500, Stephen Paul Weber wrote: > Somebody claiming to be Stephen Paul Weber wrote: > >libraries/base/Foreign/C/Types.hs:162:25: > > > >Not in scope: type constructor or class `HTYPE_FLOAT' > > After much more digging into the source, it seems that the > `Storable` class for the CFloat and CDouble types assumes that > HTYPE_FLOAT and HTYPE_DOUBLE have the right storage characteristics > for float and double. I'm trying to dig into how these are defined > now, but it seems from my first look like this assumption should > always hold. So what is the configure check for? I keep trying to > read the M4 code for the configure check, but it's quite a mess. If you're able to tidy it up, please do send a patch. Do you know why the test is failing? Thanks Ian