Skip to content
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

Add an option to include headers #15

Open
UnkindPartition opened this issue Apr 29, 2014 · 1 comment
Open

Add an option to include headers #15

UnkindPartition opened this issue Apr 29, 2014 · 1 comment

Comments

@UnkindPartition
Copy link
Member

On haskell-packages side: add an option to include CPP headers, analogous to GHC's -optP-include.

On Cabal side: pass cabal_macros.h to the compiler.
See:

  • Cabal/Distribution/Simple/GHC.hs:1177
  • Cabal/Distribution/Simple/Program/GHC.hs:309

For the background, see haskell-suite/haskell-names#51

@UnkindPartition
Copy link
Member Author

(When this option is added, it'll also have to be handled in hs-gen-iface.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant