hsc2hs and #include

Simon Marlow marlowsd at gmail.com
Tue Aug 9 10:07:26 CEST 2011

On 09/08/2011 02:44, Evan Laforge wrote:

> So the simplest thing to do is remove all the version stuff.  That
> means that if you want to run hsc2hs with a version of ghc which is
> not the one linked in /usr/bin, you also can't run the hsc2hs linked
> in /usr/bin, but have to get the one out of the ghc directory.  If no
> one has an objection to that then I'll try to make a patch with git
> and put it in a ticket.
> The next simplest thing to do is to just document that anyone calling
> hsc2hs has to pass -D__GLASGOW_HASKELL_=version.  I don't like this so
> much because it's error-prone, but doesn't require any code changes.
> So... remove it all?  Yea / nay?

Yes, ok.


More information about the Glasgow-haskell-users mailing list