[darcs-users] [darcs-devel] New extension systnax -WError? How do you want to solve this?

Thorkil Naur naur at post11.tele.dk
Sat Nov 8 16:08:56 UTC 2008


Hello,

On Saturday 08 November 2008 11:02, Eric Kow wrote:
> Hi Marc,
> 
> To ensure that darcs builds, I have submitted a patch to disable -Werror

I believe that this should be avoided.

> 
> On Sat, Nov 08, 2008 at 06:13:22 +0100, Marc Weber wrote:
> > Probably the best way is pasing -cpp all the time by default and then
> > using something like this:
> > 
> >   #if (__GLASGOW_HASKELL__ > 608)
> >   {-# OPTIONS_GHC -fbang-patterns -fffi #-}
> >   #else
> >   {-# LANGUAGE BangPatterns, ForeignFunctionInterface #-}
> >   #endif
> 
> Does anybody have comments about this approach (aside from what seems to
> be the inverted then/else?)

I would like a day or two to collect some thoughts about this, so could we 
hold the horses for a short while?

> 
> Thanks,
> 
> P.S. Note also that the devel list is only used for automated traffic,
>      that is, from the buildbot and the bug tracker.  Please use the
>      users list instead.
> 
> -- 
> Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
> PGP Key ID: 08AC04F9
> 

Thanks and best regards
Thorkil


More information about the darcs-users mailing list