Cabal error: invalid preprocessing directive #-}

后端 未结 1 1799
甜味超标
甜味超标 2020-12-21 02:00
$ cabal install arithmoi-0.4.0.3

results in multiple errors like:

Math/NumberTheory/Moduli.hs:489:4:
     error: invalid preprocess         


        
1条回答
  •  伪装坚强ぢ
    2020-12-21 02:46

    Possible workaround here.

    xCode 5 comes with clang as c/c++/obj-c compiler. Haskell Platform is not ready for that. The next ghc release will fix that.

    Also see here.

    0 讨论(0)
提交回复
热议问题