Commit 2c82539c authored by pcapriotti's avatar pcapriotti
Browse files

Re-enable inline-rule-shadowing warning.

Keep the warning off for template-haskell and bytestring for the moment.
parent 74fb5c40
......@@ -2346,7 +2346,8 @@ standardWarnings
Opt_WarnWrongDoBind,
Opt_WarnAlternativeLayoutRuleTransitional,
Opt_WarnPointlessPragmas,
Opt_WarnUnsupportedCallingConventions
Opt_WarnUnsupportedCallingConventions,
Opt_WarnInlineRuleShadowing
]
minusWOpts :: [WarningFlag]
......
......@@ -110,9 +110,10 @@ libraries/binary_dist-install_EXTRA_HC_OPTS += -fno-warn-warnings-deprecations
libraries/binary/src/Data/Binary/Builder/Base_HC_OPTS += -fno-warn-warnings-deprecations
libraries/binary/src/Data/Binary/Get_HC_OPTS += -fno-warn-warnings-deprecations
# Temporarely disable inline rule shadowing warning
libraries/bytestring_dist-install_EXTRA_HC_OPTS += -fno-warn-inline-rule-shadowing
libraries/template-haskell_dist-install_EXTRA_HC_OPTS += -fno-warn-inline-rule-shadowing
# We need -fno-warn-deprecated-flags to avoid failure with -Werror
GhcLibHcOpts += -fno-warn-deprecated-flags
GhcBootLibHcOpts += -fno-warn-deprecated-flags
# Temporarely disable rule shadowing warning
GhcLibHcOpts += -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