-
Notifications
You must be signed in to change notification settings - Fork 42
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
Can't build, ghc 7.10? #39
Comments
For the PostTcType one, that was broken in this commit from 6 months ago. To fix it, replace The issues I have are as follows:
|
I've created the beginnings of a fix, but it breaks compatibility with all previous GHC and Cabal versions. If someone could either take my fix and do some CPP magic or advise me on how to do this, that would be excellent. @schell, your thoughts would be greatly appreciated too. |
@adituv - thanks 👍 I'll take a look ASAP. |
BUMP :) |
I'm running into this issue as well. |
Hi all - I've merged @adituv's changes and added CPP conditionals for backward compatibility. Can you guys check and see if it still compiles on 7.10? I'm still on 7.8 and don't want to rebuild my whole toolchain. The changes are in master of schell/hdevtools and the commit is specifically schell@b722973. Thanks! I'll push to hackage if all is well. |
I built https://github.com/schell/hdevtools using GHC 7.10.1. It does build, but with some warnings.
|
@kolmodin Thanks! I'm taking the plunge and downloading 7.10 right now and will see what I can do about the warnings. I'll then push to hackage unless anyone else gives me some reason not to in that time. |
I've updated the warnings for both 7.8 and 7.10 and am uploading to hackage. |
I've added issues to my fork and updated the cabal file so new issues can be reported there where I can maintain them. Thanks. |
CHANGELOG: ## 0.1.2.2 - 2016-01-11 * Added type checking support for tests and benchmarks in stack projects. and all changes ( 0.1.0.5 -> 0.1.2.2 ) from https://github.com/hdevtools/hdevtools/ 0.1.2.2 - Update to stack lts-4.1, added CHANGELOG, prepare release 0.1.2.2 - Updated LICENSE and maintainers in hdevtools.cabal. - Fix for when 'dist' is not existing - Merge pull request #21 from dan-t/fix_for_tests_benchmarks Fix compiling of test/benchmark section files This ensures that the dependencies of the test and benchmark sections are considered and therefore files from these sections can be compiled. - Merge pull request #19 from dan-t/fix_dist_dir Select the right 'dist' directory in the sandbox case - Add support for passing extra options to Cabal - update stack.yaml - add support for ghc-7.8 - move 0.1.2.1, 0.1.2.0 - added FindSymbol to other-modules - Fixes for ghc < 7.10 - findsymbol: add support for ghc 7.10 - Change help message of findsymbol command - Load each file/target separately for the 'findsymbol' command To be able to continue loading of files and reading their module graph if an error occured during the loading of a file, because if all files are loaded at once, then GHC stops the loading if an error occured. - Return each module only once - Don't output any GHC warings/errors for the 'findsymbol' command - Allow multiple source files for 'findsymbol' - findsymbol with sourcefile - Handle GHC exceptions - Error message for 'findsymbol', if no modules could be found - Add command findsymbol 0.1.1.9 - cleanup - only uses stack if stack cmd available - fixed warnings - version bump - non-breaking api additions for stack - added CPP check for GHC version - Fixes 'unboxed tuples' issue - Add imports for <$> and <*> - ok, with the new update, works perfectly with both stack and raw cabal - next up, how to fix the optP params - done with Stack module - update screenshot - adding --path option to check files placed in temporary directories 0.1.0.9 - Don't crash when there is a leftover socket file Previously, when there was a socket file in the current directly and no server was running, 'hdevtools check' would fail with: hdevtools: bind: resource busy (Address already in use) 0.1.0.8 - Cabal can find ghc 0.1.0.7 - moved issues/homepage link to github.com/schell/hdevtools - 7.10 support, fixed warnings in 7.10 and 7.8, fixes bitc/hdevtools#39 - Adds 7.10 support - Merge pull request #1 from rampion/master Replace pattern match with func for compatibility 0.1.0.6 - updated cabal for interim hackage takeover - changes for GHC API 7.8.3 - Adds support for ghc7.8 - Pass path to cabal config from client to server. This allows running hdevtools first time from anywhere, not just from cabal package's (sub)directory. - Search for .cabal file from target file directory Currently search for .cabal file is done from current directory which requires that hdevtools is run from package directory or it's subdirectory which is not always easy to achieve when hdevtools is run from inside editor. This fix changes search logic so that .cabal file is searched starting from target file's directory (for commands that have target file) or from current directory for other commands. - Switch off cabal support for older GHC versions - Filter out -Werror from cabal GHC options - Cabal workaround inplace library dependency - Add cabal version info to help message - Support running from cabal package subdirectories - Add handling of Cabal errors - Add support for cabalized projects - Changed showDoc mode 1 to showDoc mode 0 - Updates for changes in GHC API. Fixes #24. Updates to GHC API Pretty.showDoc - Merge pull request #9 from takano-akio/ignore-epipe Server shouldn't crash when the client dies This commit makes the server not crash when the client dies in the middle of command execution.
Hi there!
I can't build due to following errors:
Maybe there are more errors in later modules…
The text was updated successfully, but these errors were encountered: