Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3d90d06a
Commit
3d90d06a
authored
Dec 22, 2015
by
Andrey Mokhov
Browse files
Add support for turnWarningsIntoErrors in Settings/User.hs.
parent
31d88906
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Settings/User.hs
View file @
3d90d06a
...
...
@@ -3,7 +3,7 @@ module Settings.User (
userProgramPath
,
userKnownPackages
,
integerLibrary
,
trackBuildSystem
,
buildHaddock
,
validating
,
ghciWithDebugger
,
ghcProfiled
,
ghcDebugged
,
dynamicGhcPrograms
,
laxDependencies
,
buildSystemConfigFile
,
verboseCommands
verboseCommands
,
turnWarningsIntoErrors
)
where
import
Expression
...
...
@@ -88,3 +88,7 @@ buildSystemConfigFile = False
-- only, e.g.: verboseCommands = package ghcPrim
verboseCommands
::
Predicate
verboseCommands
=
return
False
-- | To enable -Werror in Stage2 set turnWarningsIntoErrors = stage2.
turnWarningsIntoErrors
::
Predicate
turnWarningsIntoErrors
=
return
False
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment