You can specify the pre-processor in the `ghc-options' field in the
cabal file, e.g.
ghc-options: -pgmPcpphs
Francesco
On 23 December 2014 at 17:14, Brandon Allbery allber...@gmail.com wrote:
On Tue, Dec 23, 2014 at 11:10 AM, Dominic Steinitz domi...@steinitz.org
wrote:
How very clever
I forgot to mention that `cpphs' can mimick gcc's cpp, with the flag
`-cpp'. In Agda we have
ghc-options: -pgmPcpphs -optP--cpp
Francesco
On 24 December 2014 at 10:50, Francesco Mazzoli f...@mazzo.li wrote:
You can specify the pre-processor in the `ghc-options' field in the
cabal file,
Thank you very much everyone. I now have a version of yarr which compiles under
ghc 7.8.3. I have yet to do the conditional compilation hackery to support back
versions but then I can make a release.
What a great community :-)
Dominic Steinitz
domi...@steinitz.org
what version of cabal-install are you using?
On Tue, Dec 23, 2014 at 10:46 AM, Dominic Steinitz domi...@steinitz.org
wrote:
Ok I have a cut down version of the problem and am cross posting to
glasgow-haskell-users.
To restate the problem: this is from code that has not been changed for 2
On Tue, Dec 23, 2014 at 10:46 AM, Dominic Steinitz domi...@steinitz.org
wrote:
To restate the problem: this is from code that has not been changed for 2
years. I get
Examples.hs:42:42: Parse error in pattern: con
Failed, modules loaded: none.
I think I see the problem. Are you by any
How very clever of you and thank you very much. Changing ‘ to 1 does fix the
problem.
I would have thought this would work
cabal install --with-gcc=gcc-4.9
But sadly I still got the same error.
Do I need a special version of cpphs?
Dominic Steinitz
domi...@steinitz.org
$ cabal --version
cabal-install version 1.19.1
using version 1.19.1 of the Cabal library
Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.wordpress.com
On 23 Dec 2014, at 15:54, Carter Schonwald carter.schonw...@gmail.com wrote:
what version of cabal-install are you using?
On Tue, Dec 23, 2014 at 11:10 AM, Dominic Steinitz domi...@steinitz.org
wrote:
How very clever of you and thank you very much. Changing ‘ to 1 does fix
the problem.
I would have thought this would work
cabal install --with-gcc=gcc-4.9
But sadly I still got the same error.
I think that