[dmd-internals] [D-Programming-Language/dmd] 588161: Add option to show deprecated errors as warnings

GitHub noreply at github.com
Sun Nov 11 23:15:56 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 5881617a34adc172b830314c17da21d5c834ffd0
      https://github.com/D-Programming-Language/dmd/commit/5881617a34adc172b830314c17da21d5c834ffd0
  Author: Leandro Lucarella <luca at llucax.com.ar>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M docs/man/man1/dmd.1
    M src/dsymbol.c
    M src/mars.c
    M src/mars.h
    M test/compilable/depmsg.d
    M test/compilable/deprecate2.d
    M test/compilable/header.d
    M test/compilable/test55.d
    M test/compilable/test7754.d
    M test/fail_compilation/fail108.d
    M test/fail_compilation/fail121.d
    M test/fail_compilation/fail138.d
    M test/fail_compilation/fail156.d
    M test/fail_compilation/fail157.d
    M test/fail_compilation/fail187.d
    M test/fail_compilation/fail4.d
    M test/fail_compilation/testhtml.html
    M test/fail_compilation/testhtml2.html
    M test/fail_compilation/testhtml3.html
    M test/runnable/circular.d
    M test/runnable/deprecate1.d
    M test/runnable/literal.d
    M test/runnable/test9.d

  Log Message:
  -----------
  Add option to show deprecated errors as warnings

The new option -di treats deprecation errors as informational warnings,
just like -wi show warnings as informational messages without triggering
errors.

Tests that required -d are updated to use -di options too to ensure -d
and -di works exactly the same (except for the compiler messages). Test
that didn't really required -d to run (usually obscure bugs only
triggered with -d), are now using both -d and -di as PERMUTE_ARGS
instead of REQUIRED_ARGS, so the are more generally tested.


  Commit: b67fbdbb69014d6327329e47ff42d7f753e9f76d
      https://github.com/D-Programming-Language/dmd/commit/b67fbdbb69014d6327329e47ff42d7f753e9f76d
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-11-11 (Sun, 11 Nov 2012)

  Changed paths:
    M docs/man/man1/dmd.1
    M src/dsymbol.c
    M src/mars.c
    M src/mars.h
    M test/compilable/depmsg.d
    M test/compilable/deprecate2.d
    M test/compilable/header.d
    M test/compilable/test55.d
    M test/compilable/test7754.d
    M test/fail_compilation/fail108.d
    M test/fail_compilation/fail121.d
    M test/fail_compilation/fail138.d
    M test/fail_compilation/fail156.d
    M test/fail_compilation/fail157.d
    M test/fail_compilation/fail187.d
    M test/fail_compilation/fail4.d
    M test/fail_compilation/testhtml.html
    M test/fail_compilation/testhtml2.html
    M test/fail_compilation/testhtml3.html
    M test/runnable/circular.d
    M test/runnable/deprecate1.d
    M test/runnable/literal.d
    M test/runnable/test9.d

  Log Message:
  -----------
  Merge pull request #1185 from llucax/deprecation-warnings

Add option to show deprecated errors as warnings


Compare: https://github.com/D-Programming-Language/dmd/compare/4b2767e72c04...b67fbdbb6901


More information about the dmd-internals mailing list