No instance for (Fractional Int32)

Gabor Greif ggreif at gmail.com
Fri Feb 8 13:20:53 CET 2013


Hi all,

This is what I get while building a cross-ghc:

libraries/base/Foreign/C/Types.hs:162:72:
    No instance for (Fractional Int32)
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      use a standalone 'deriving instance' declaration,
        so you can specify the instance context yourself
    When deriving the instance for (Fractional CFloat)

Has anybody seen this with HEAD?

Cheers,

    Gabor



More information about the ghc-devs mailing list