-
Notifications
You must be signed in to change notification settings - Fork 704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unnecessary recompilation when using the CPP language extension #3562
Comments
The is no way to check whether symbols from solution to #3545 will probably fix this as well, as libraries and test-suite |
Thanks for the reference to #3545. |
Yes, this is fixed in master. BTW, there is always an implicit include of |
I couldn't reproduce the problem using the current master (commit 0260415). Thanks! |
Using the files below I got the following behaviour:
Cabal correctly changes
cabal.macros.h
because the dependencies of the library and the test-suite are different.Why the module
Foo.hs
is recompiled?If I comment-out
{-# LANGUAGE CPP #-}
inFoo.hs
, this module isn't recompiled.Files: Foo.cabal.txt, Foo.hs.txt and Test.hs.txt.
Cabal and GHC versions:
The text was updated successfully, but these errors were encountered: