Somebody claiming to be Ian Lynagh wrote:
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.Do you know why the test is failing?
I'm still not sure what the test is testing. More useful log output at <http://pastie.org/5643258>. It seems to casting a number about and then checking... something, which is failing.
It seems the failure is linked to the fact that `test_array` is being declared static. I cannot find the place in the m4 macros where this happens yet, but will keep looking.
Though... surely it *is* constant? It should be determinible at compile time. Though, even my local (non-cross-compile) gcc gives that same error on the program from that log.
-- Stephen Paul Weber, @singpolyma See <http://singpolyma.net> for how I prefer to be contacted edition right joseph
signature.asc
Description: Digital signature
_______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc