Removing -fno-warn-unused-do-bind.
This commit is contained in:
4
Check.hs
4
Check.hs
@@ -23,8 +23,8 @@ check opt fileName = withGHC $ checkIt `gcatch` handleErrMsg
|
||||
checkIt = do
|
||||
(file,readLog) <- initializeGHC opt fileName options True
|
||||
setTargetFile file
|
||||
load LoadAllTargets
|
||||
_ <- load LoadAllTargets
|
||||
liftIO readLog
|
||||
options
|
||||
| expandSplice opt = ["-w:"] ++ ghcOpts opt
|
||||
| otherwise = ["-Wall","-fno-warn-unused-do-bind"] ++ ghcOpts opt
|
||||
| otherwise = ["-Wall"] ++ ghcOpts opt
|
||||
|
||||
Reference in New Issue
Block a user