Quantcast
Channel: Hackage: Ticket #230: setup haddock ignores LANGUAGE CPP pragma
Browsing latest articles
Browse All 4 View Live

comment added

*  virgin mobile

View Article


comment added

And of course we have the same problem with {-# OPTIONS -fglasgow-exts -cpp #-} which is generated by alex. So even if you didn't realise you use CPP, if you use alex then you do and then haddock...

View Article


comment added

Distribution.Simple.Hugs.getOptionsFromSource may be useful.

View Article

comment added; milestone set

milestone set to Cabal-2.0 Of course that's because it is GHC that interprets the {-# LANGUAGE CPP #-} pragma and not Cabal. Long term I think Cabal should notice LANGUAGE pragmas. It'd allow it to...

View Article
Browsing latest articles
Browse All 4 View Live