[erlang-patches] Treat warnings as errors in compile
Björn Gustavsson
bgustavsson@REDACTED
Tue Dec 15 15:42:56 CET 2009
On Tue, Dec 15, 2009 at 10:13 AM, christopher faulet
<christopher.faulet@REDACTED> wrote:
> I added the flag 'warnings_as_errors' in compile.erl. With this flag,
> warnings are treated as errors, like gcc flag '-Werror'.
>
> git fetch git://github.com/capflam/otp.git compile_warning_as_error
Thanks! Included in 'pu', but I have separated out the whitespace changes
into a separate commit to make the diff of your commit easier to read.
While I recommend making sure that no *new* trailing whitespace is added
by a patch, taking out *existing* trailing whitespace should be done in a
separate commit if it is to be done at all. And whitespace should never
be removed from the header, because it will only be added back
again by a trigger when the patch is graduated to the development
branch in Clearcase.
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-patches
mailing list