On 31/07/2011, at 13:06 , Erik de Castro Lopo wrote: > tomberek wrote: > >> Everything up until here was good. (Brand new Arch with everything >> updated) Then at Lexer.hs: > > Yeah, this is a alex bug which won't be fixed: > > http://trac.haskell.org/haskell-platform/ticket/171 > > You have two options: > > a) Remove -Werror from the build system, but then you need > to make sure you re-enable it if you are creating patches > push to the repo. > > b) Compile src/Source/Lexer.hs by hand dropping the -Werror > (with this solution everything else still gets compiled > with that flag). > c) Patching alex. This is the route I have taken and this is > the patch that is in Debian's version of alex. Patch below. >
From the alex trac this should be fixed once and for all in GHC 7.2. The GHC 7.2 release candidate is also out, so the problem should go away in a couple of weeks after we all upgrade. Ben. -- Disciple-Cafe mailing list http://groups.google.com/group/disciple-cafe
