forked from haskell/cabal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax extension
.c
requirement for c-sources
haskell#9200 started filtering `.cc` files from `c-sources` and does not always issue a warning (there has to be at least one `.c` file present before it warns you it is ignoring the others). Some packages in hackage (`double-conversion` for instance) rely on the ability to include `C++` source files in `c-sources`. This is not ideal, but we should probably continue to support these packages. This change will relax the filtering, so that only `.h` files are automatically excluded (with a warning). It will also warn if other non `.c` files are present (suggesting the `cxx-sources` since C++ sources are the most likely to be used). The bug that prevented warnings being displayed when no `.c` files were present is fixed.
- Loading branch information
1 parent
15a0010
commit 6fb31e1
Showing
4 changed files
with
56 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters