#3326: the recompilation checker should take CPP flags into account
-----------------------------+----------------------------------------------
Reporter: bkomuves | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
The C preprocessor can be used (or maybe abused) to provide different
configurations of the same program. I often build programs with a command
like
{{{ghc --make -DOPTION1 -DOPTION3 main.hs}}}
Now if I try to rebuild with different CPP flags, ghc won't recompile
anything, since no source file changed (however, they become different
after the CPP pass).
Ticket #437 is loosely related.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3326>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs