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

cannot supress ghc warnings #340

Open
andrewufrank opened this issue Apr 4, 2021 · 1 comment
Open

cannot supress ghc warnings #340

andrewufrank opened this issue Apr 4, 2021 · 1 comment

Comments

@andrewufrank
Copy link

I try to avoid some warnings (especially -Wno-deprecations) and I have put the ghc option in my stack.yaml (going into .cabal file) and I do not see the warning in stack build but I cannot get rid of it in the problem panel ghcid produces automatically.
my .ghci file is:

:set -fwarn-unused-binds 
:set -fwarn-unused-imports 
:set -Wno-deprecations
:set -fno-missing-signatures

:set -isrc
:set -itest

but I still get the warning.

I get additionally messages:
ghcide compiled by GHC 8.10 failed to load packages: : cannot satisfy -package completeMeta-0.0.1.1
(use -v for more information).
Please ensure that ghcide is compiled with the same GHC installation as the project.

I have compiled stack build ghcide in the same project, assuming the same 8.10.4 GHC.

I assume I misunderstand something. What is wrong?

@ndmitchell
Copy link
Owner

This project is called ghcid - are you mistaking it for the ghcide (with the trailing e)? Note that using ghcide is no longer recommended, and you should use the Haskell Language Server directly https://github.com/haskell/haskell-language-server

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

2 participants