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
Using Windows 64bit, Stack 1.5, if I create a stack file for the Shake package pointing at nightly-2017-08-17 (a GHC 8.2 nightly), then run:
nightly-2017-08-17
stack build --executable-profiling --library-profiling --ghc-options=-Werror
I get the error:
Configuring shake-0.15.11... <no location info>: error: Failing due to -Werror. on the commandline: warning: -auto-all is deprecated: Use -fprof-auto instead on the commandline: warning: -caf-all is deprecated: Use -fprof-cafs instead
The cause is
stack/src/Stack/Build/Source.hs
Line 160 in aa5003a
I tested this with Shake, but I believe the problem applies to all packages.
The text was updated successfully, but these errors were encountered:
Thanks for reporting! Looks like these have been old flags even when it was implemented. From the latest docs
-fprof-auto was known as -auto-all prior to GHC 7.4.1.
And indeed, the earliest supported ghc, 7.8 has -prof-cafs as well: https://downloads.haskell.org/~ghc/7.8.1/docs/html/users_guide/flag-reference.html
So, no version check is needed.
Sorry, something went wrong.
Did you intend to close this issue?
Oh yeah forgot to mention i pushed a fix to master e21bfd9
Thanks!
No branches or pull requests
Using Windows 64bit, Stack 1.5, if I create a stack file for the Shake package pointing at
nightly-2017-08-17
(a GHC 8.2 nightly), then run:I get the error:
The cause is
stack/src/Stack/Build/Source.hs
Line 160 in aa5003a
I tested this with Shake, but I believe the problem applies to all packages.
The text was updated successfully, but these errors were encountered: