... | ... | @@ -151,6 +151,28 @@ rather than leaving it lying around for when you have time to make the HEAD patc |
|
|
|
|
|
- Discuss anything you think might be controversial before pushing it.
|
|
|
|
|
|
## Warnings
|
|
|
|
|
|
|
|
|
We are aiming to make the GHC code warning-free for all warnings turned on by
|
|
|
|
|
|
```wiki
|
|
|
-Wall -fno-warn-name-shadowing
|
|
|
```
|
|
|
|
|
|
|
|
|
and as such the build sets these flags for the stage 2 compiler, and the validate script, which is used to test the build before commiting, additionally sets the `-Werror` flag. As the `-Werror` flag is not set during normal builds, during development warnings will be printed but won't halt the build.
|
|
|
|
|
|
|
|
|
Currently we are some way from our goal, so many modules have a
|
|
|
|
|
|
```wiki
|
|
|
{-# OPTIONS_GHC -w #-}
|
|
|
```
|
|
|
|
|
|
|
|
|
pragma; you are encouraged to remove this pragma and fix any warnings when working on a module.
|
|
|
|
|
|
## The Bug Tracker
|
|
|
|
|
|
|
... | ... | |