cpphs: Cannot parse #if directive in file lib/GhcTags/Ghc.hs at line 5 col 1:
expected ) got *
CallStack (from HasCallStack):
error, called at ./Language/Preprocessor/Cpphs/CppIfdef.hs:192:0: error:
Error: 28 in main:Language.Preprocessor.Cpphs.CppIfdef
cpphs: Cannot parse #if directive in file lib/GhcTags/Tag.hs at line 52 col 1:
expected ) got *
CallStack (from HasCallStack):
error, called at ./Language/Preprocessor/Cpphs/CppIfdef.hs:192:0: error:
Error: 28 in main:Language.Preprocessor.Cpphs.CppIfdef
lib/GhcTags/Ghc.hs:1:1: error:
Error: `cpphs' failed in phase `C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
lib/GhcTags/Tag.hs:1:1: error:
Error: `cpphs' failed in phase `C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
Error: cabal: Failed to build ghc-tags-core-0.4.1.0 (which is required by
exe:gtp-check from ghc-tags-plugin-0.5.1.0 and test:test from
ghc-tags-core-0.4.1.0).
The code is compiled with:
And
cpphs
trips over(ref), with the following error:
Here's CI log: https://github.com/coot/ghc-tags-plugin/actions/runs/3085403434/jobs/4988652786#step:15:1