the recompilation checker should take CPP flags into account
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 (closed) is loosely related.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |