Closed
Description
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:
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.