Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
7cbce1d2
Commit
7cbce1d2
authored
Jul 21, 2013
by
ian@well-typed.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync the list of default warnings with reality; fixes #8060.
parent
95e6865e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
14 deletions
+18
-14
compiler/main/DynFlags.hs
compiler/main/DynFlags.hs
+9
-10
docs/users_guide/using.xml
docs/users_guide/using.xml
+9
-4
No files found.
compiler/main/DynFlags.hs
View file @
7cbce1d2
...
...
@@ -2858,24 +2858,23 @@ optLevelFlags
standardWarnings
::
[
WarningFlag
]
standardWarnings
=
[
Opt_WarnWarningsDeprecations
,
=
[
Opt_WarnOverlappingPatterns
,
Opt_WarnWarningsDeprecations
,
Opt_WarnDeprecatedFlags
,
Opt_WarnUnrecognisedPragmas
,
Opt_WarnOverlappingPatterns
,
Opt_WarnPointlessPragmas
,
Opt_WarnDuplicateConstraints
,
Opt_WarnDuplicateExports
,
Opt_WarnMissingFields
,
Opt_WarnMissingMethods
,
Opt_WarnDuplicateExports
,
Opt_WarnLazyUnliftedBindings
,
Opt_WarnDodgyForeignImports
,
Opt_WarnWrongDoBind
,
Opt_WarnAlternativeLayoutRuleTransitional
,
Opt_WarnPointlessPragmas
,
Opt_WarnUnsupportedCallingConventions
,
Opt_WarnUnsupportedLlvmVersion
,
Opt_WarnInlineRuleShadowing
,
Opt_WarnDuplicateConstraints
,
Opt_WarnDodgyForeignImports
,
Opt_WarnTypeableInstances
,
Opt_WarnInlineRuleShadowing
,
Opt_WarnTypeableInstances
Opt_WarnAlternativeLayoutRuleTransitional
,
Opt_WarnUnsupportedLlvmVersion
]
minusWOpts
::
[
WarningFlag
]
...
...
docs/users_guide/using.xml
View file @
7cbce1d2
...
...
@@ -962,6 +962,8 @@ test.hs:(5,4)-(6,7):
<option>
-fwarn-overlapping-patterns
</option>
,
<option>
-fwarn-warnings-deprecations
</option>
,
<option>
-fwarn-deprecated-flags
</option>
,
<option>
-fwarn-unrecognised-pragmas
</option>
,
<option>
-fwarn-pointless-pragmas
</option>
,
<option>
-fwarn-duplicate-constraints
</option>
,
<option>
-fwarn-duplicate-exports
</option>
,
<option>
-fwarn-missing-fields
</option>
,
...
...
@@ -969,10 +971,13 @@ test.hs:(5,4)-(6,7):
<option>
-fwarn-lazy-unlifted-bindings
</option>
,
<option>
-fwarn-wrong-do-bind
</option>
,
<option>
-fwarn-unsupported-calling-conventions
</option>
,
<option>
-fwarn-dodgy-foreign-imports
</option>
, and
<option>
-fwarn-typeable-instances
</option>
. The following
flags are
simple ways to select standard
“
packages
”
of warnings:
<option>
-fwarn-dodgy-foreign-imports
</option>
,
<option>
-fwarn-typeable-instances
</option>
,
<option>
-fwarn-inline-rule-shadowing
</option>
,
<option>
-fwarn-alternative-layout-rule-transitional
</option>
, and
<option>
-fwarn-unsupported-llvm-version
</option>
.
The following flags are simple ways to select standard
“
packages
”
of warnings:
</para>
<variablelist>
...
...
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