[commit: ghc] wip/erikd/rts: rts: Add `-Wundef` to CFLAGS and fix warnings (3c78114)

git at git.haskell.org git at git.haskell.org
Thu May 19 20:51:01 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/erikd/rts
Link       : http://ghc.haskell.org/trac/ghc/changeset/3c78114ce20d22adbb2f9eb3b7aff9aca41baf04/ghc

>---------------------------------------------------------------

commit 3c78114ce20d22adbb2f9eb3b7aff9aca41baf04
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Wed May 18 20:04:26 2016 +1000

    rts: Add `-Wundef` to CFLAGS and fix warnings


>---------------------------------------------------------------

3c78114ce20d22adbb2f9eb3b7aff9aca41baf04
 includes/Stg.h                    |  8 ++---
 includes/rts/OSThreads.h          |  4 +--
 includes/rts/storage/InfoTables.h |  2 +-
 includes/stg/MachRegs.h           |  2 +-
 includes/stg/SMP.h                | 63 +++++++++++++++++++++------------------
 rts/Adjustor.c                    |  3 ++
 rts/Interpreter.c                 |  3 ++
 rts/Linker.c                      | 12 ++++----
 rts/LinkerInternals.h             |  3 +-
 rts/OldARMAtomic.c                |  2 +-
 rts/PrimOps.cmm                   |  4 +--
 rts/RtsMessages.c                 |  4 +--
 rts/RtsUtils.c                    |  4 +--
 rts/Schedule.c                    | 16 +++++-----
 rts/Threads.c                     |  2 +-
 rts/Ticky.c                       |  8 ++---
 rts/ghc.mk                        |  4 ++-
 rts/posix/GetTime.c               |  2 +-
 rts/posix/OSMem.c                 |  8 ++---
 rts/posix/OSThreads.c             |  2 +-
 rts/sm/GCUtils.c                  |  2 +-
 rts/sm/GCUtils.h                  |  2 +-
 rts/sm/MBlock.c                   |  2 +-
 rts/sm/Storage.c                  |  3 ++
 24 files changed, 91 insertions(+), 74 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 3c78114ce20d22adbb2f9eb3b7aff9aca41baf04


More information about the ghc-commits mailing list