Commit 33591335 authored by David Terei's avatar David Terei

Add `--fwarn-trustworthy-safe` to `-Wall` again.

This redoes part of 475dd93e which was reversed in 452d6aa9 after
breaking validate on windows.
parent bdeab901
......@@ -3214,7 +3214,8 @@ minusWallOpts
Opt_WarnMissingSigs,
Opt_WarnHiShadows,
Opt_WarnOrphans,
Opt_WarnUnusedDoBind
Opt_WarnUnusedDoBind,
Opt_WarnTrustworthySafe
]
enableGlasgowExts :: DynP ()
......
......@@ -169,7 +169,9 @@ libraries/array_dist-install_EXTRA_HC_OPTS += -fno-warn-warnings-deprecations
# Turn of trustworthy-safe warning
libraries/base_dist-install_EXTRA_HC_OPTS += -fno-warn-trustworthy-safe
libraries/ghc-prim_dist-install_EXTRA_HC_OPTS += -fno-warn-trustworthy-safe
libraries/process_dist-install_EXTRA_HC_OPTS += -fno-warn-trustworthy-safe
libraries/unix_dist-install_EXTRA_HC_OPTS += -fno-warn-trustworthy-safe
libraries/Win32_dist-install_EXTRA_HC_OPTS += -fno-warn-trustworthy-safe
# Temporarely disable inline rule shadowing warning
libraries/bytestring_dist-install_EXTRA_HC_OPTS += -fno-warn-inline-rule-shadowing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment