I\'m using a VM with the following configuration:
For some reason, the MIN_VERSION_base
macro doesn't get expanded, thus the preprocessor sees the condition MIN_VERSION_base(4,4,0)
which it of course cannot handle. I've not yet found out why the macro isn't expanded, but workarounds are
Codec/Compression/Zlib/Stream.hsc
to remove the offending macro (you're using 7.0.3, so your base version is 4.3.1.0, you can replace the macro with 0)Edit: After poking around a bit, I found out that to hide these preprocessor directives, which aren't intended for hsc2hs
to process, they have to be masked by an extra '#'. Bug report underway.