haskell / attoparsec

A fast Haskell library for parsing ByteStrings
http://hackage.haskell.org/package/attoparsec
Other
514 stars 93 forks source link

Build failure with GHC-7.2 #193

Closed phadej closed 2 years ago

phadej commented 2 years ago
Data/Attoparsec/ByteString/FastSet.hs:35:33:
    Module `Data.Bits' does not export `unsafeShiftL'

GHC-7.0 also fails with

[ 8 of 22] Compiling Data.Attoparsec.ByteString.FastSet ( Data/Attoparsec/ByteString/FastSet.hs, /codetmp/ap/attoparsec-0.14.2/.dist-newstyle-trustee/a85de39409374651002c84cba7c928eb96fb82f88acc2aeac392985def3e1389346122b82c9c47b743a5c2764bb0e3f5c309af7202dbe723e69a5193e84fcbc4/build/x86_64-linux/ghc-7.0.4/attoparsec-0.14.2/noopt/build/Data/Attoparsec/ByteString/FastSet.o )

SpecConstr
    Function `$wg{v X4r7} [lid]'
      has two call patterns, but the limit is 1
    Use -fspec-constr-count=n to set the bound
    Use -dppr-debug to see specialisations

Not sure what happens there.

I made a revision: https://hackage.haskell.org/package/attoparsec-0.14.2/revisions/