aycanirican / hweblib

Haskell Web Library
BSD 3-Clause "New" or "Revised" License
15 stars 2 forks source link

Test suite build failure w/ C preprocessor #3

Closed DanBurton closed 5 years ago

DanBurton commented 7 years ago

Build failure with GHC 8.2.1 as seen on the Stackage build server.

1: ./Setup build (pending: 1312, failures: 21)

Building test suite 'testsuite' for hweblib-0.6.3..

src/Network/Parser/Mime.hs:23:0: error:
     error: missing binary operator before token "("
     #if MIN_VERSION_text(0,11,3)
     ^
   |
23 | #if MIN_VERSION_text(0,11,3)
   | ^
`gcc' failed in phase `C pre-processor'. (Exit code: 1)
aycanirican commented 5 years ago

@DanBurton I finally found some time to cleanup and improve the library. Thank you for reporting it, and sorry for the big delay. I just added Message.hs which is a more clean interface for working on message type. Mime.hs will be removed as soon as i cleanup and write tests for Message.hs.

Thank you.

aycanirican commented 5 years ago

BTW, I just added 3 different versions (8.2, 8.4 and 8.6) of ghc to travis config.