From 05dccd626d8a3b1546c7ac6cd3f222960fbdf49c Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov <mikhail.glushenkov@gmail.com> Date: Wed, 2 Mar 2016 10:21:34 +0100 Subject: [PATCH] 'ghc-options: -Werror' is bad practice. --- Cabal/doc/developing-packages.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cabal/doc/developing-packages.markdown b/Cabal/doc/developing-packages.markdown index b96c50a2c3..8f53ef519c 100644 --- a/Cabal/doc/developing-packages.markdown +++ b/Cabal/doc/developing-packages.markdown @@ -1367,7 +1367,7 @@ for these fields. `OPTIONS_GHC` pragma in the source file affected. As with many other fields, whitespace can be escaped by using Haskell string - syntax. Example: `ghc-options: -Werror "-with-rtsopts=-T -I1" -Wall`. + syntax. Example: `ghc-options: -Wcompat "-with-rtsopts=-T -I1" -Wall`. `ghc-prof-options:` _token list_ : Additional options for GHC when the package is built with profiling -- GitLab