[parrot/parrot] fc5332: Add the new -Wuseless-cast flag for G++ 4.8 and be...

GitHub noreply at github.com
Mon Mar 26 19:12:45 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: fc53321e1c8276d8fb746a661b811c3b36626e6b
      https://github.com/parrot/parrot/commit/fc53321e1c8276d8fb746a661b811c3b36626e6b
  Author: Andy Lester <andy at petdance.com>
  Date:   2012-03-26 (Mon, 26 Mar 2012)

  Changed paths:
    M config/auto/warnings.pm

  Log Message:
  -----------
  Add the new -Wuseless-cast flag for G++ 4.8 and beyond


  Commit: 0cc333e33f26e4a4397341ab0974b2782604d62d
      https://github.com/parrot/parrot/commit/0cc333e33f26e4a4397341ab0974b2782604d62d
  Author: Andy Lester <andy at petdance.com>
  Date:   2012-03-26 (Mon, 26 Mar 2012)

  Changed paths:
    M src/debug.c

  Log Message:
  -----------
  start_line is unsigned_long, so casting is unnecessary


  Commit: fb20fdcc3d4f5ebd58b8fbe6bbd82d3f78844975
      https://github.com/parrot/parrot/commit/fb20fdcc3d4f5ebd58b8fbe6bbd82d3f78844975
  Author: Andy Lester <andy at petdance.com>
  Date:   2012-03-26 (Mon, 26 Mar 2012)

  Changed paths:
    M compilers/imcc/reg_alloc.c

  Log Message:
  -----------
  0 need not be cast to (int)


Compare: https://github.com/parrot/parrot/compare/0e22699...fb20fdc


More information about the parrot-commits mailing list