"token is not a valid binary operator in a preprocessor subexpression" in GHC HEAD build

Conal Elliott conal at conal.net
Sun Mar 6 21:46:09 UTC 2016


I'm trying to build GHC HEAD on Mac OS after a fresh git-pull, and I'm
getting the following:

    libraries/binary/src/Data/Binary/Put.hs:38:27:
         error: token is not a valid binary operator in a preprocessor
subexpression
    #if MIN_VERSION_bytestring(0,10,4)

Any insights/suggestions?

I don't need the very latest HEAD version; just a version with ticket 11651
fixed (https://ghc.haskell.org/trac/ghc/ticket/11651#comment:3), and even
for that item, I don't mind patching the source myself.

Thanks!  - Conal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160306/b56c0cb7/attachment.html>


More information about the ghc-devs mailing list