[commit: ghc] wip/erikd/rts: rts: Add `-Wundef` to CFLAGS and fix warnings (397fa9a)
git at git.haskell.org
git at git.haskell.org
Thu Oct 20 09:54:22 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/erikd/rts
Link : http://ghc.haskell.org/trac/ghc/changeset/397fa9a52807b38a259bc89c38a470c2901b3a05/ghc
>---------------------------------------------------------------
commit 397fa9a52807b38a259bc89c38a470c2901b3a05
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date: Thu Oct 20 20:53:16 2016 +1000
rts: Add `-Wundef` to CFLAGS and fix warnings
>---------------------------------------------------------------
397fa9a52807b38a259bc89c38a470c2901b3a05
compiler/utils/Panic.hs | 4 +-
ghc/GHCi/UI.hs | 2 +-
ghc/hschooks.c | 1 -
includes/MachineDefines.h | 134 +++++++++++++++++++++++
includes/Rts.h | 8 +-
includes/RtsAPI.h | 2 +-
includes/Stg.h | 6 +-
includes/rts/IOManager.h | 2 +-
includes/rts/Linker.h | 2 +-
includes/rts/Messages.h | 2 +-
includes/rts/OSThreads.h | 8 +-
includes/rts/Threads.h | 2 +-
includes/rts/storage/GC.h | 2 +-
includes/rts/storage/InfoTables.h | 2 +-
includes/rts/storage/TSO.h | 4 +-
includes/stg/DLL.h | 6 +-
includes/stg/MachRegs.h | 26 ++---
includes/stg/RtsMachRegs.h | 2 +
includes/stg/SMP.h | 15 ++-
includes/stg/Types.h | 2 +-
iserv/cbits/iservmain.c | 1 -
libraries/base/GHC/Conc/IO.hs | 22 ++--
libraries/base/GHC/Conc/Sync.hs | 2 +-
libraries/base/GHC/Conc/Windows.hs | 2 +-
libraries/base/cbits/DarwinUtils.c | 2 +-
libraries/base/cbits/PrelIOUtils.c | 2 +-
libraries/base/include/HsBase.h | 2 +-
libraries/ghc-prim/cbits/ctz.c | 2 +-
rts/Adjustor.c | 79 ++++++-------
rts/BeginPrivate.h | 2 +-
rts/Capability.c | 6 +-
rts/Capability.h | 2 +-
rts/EndPrivate.h | 2 +-
rts/Excn.h | 2 +-
rts/HeapStackCheck.cmm | 2 +-
rts/Interpreter.c | 7 +-
rts/Libdw.c | 4 +-
rts/Linker.c | 213 ++++++++++++++++++------------------
rts/LinkerInternals.h | 7 +-
rts/PosixSource.h | 4 +-
rts/PrimOps.cmm | 12 +-
rts/Profiling.c | 2 +-
rts/RaiseAsync.c | 8 +-
rts/RaiseAsync.h | 2 +-
rts/RtsFlags.c | 14 +--
rts/RtsMessages.c | 14 +--
rts/RtsSignals.h | 4 +-
rts/RtsStartup.c | 14 +--
rts/RtsSymbols.c | 26 ++---
rts/RtsUtils.c | 10 +-
rts/Schedule.c | 8 +-
rts/Stats.h | 2 +-
rts/StgCRun.c | 54 ++++-----
rts/StgRun.h | 2 +-
rts/Task.h | 8 +-
rts/Threads.c | 4 +-
rts/Trace.c | 2 +-
rts/eventlog/EventLog.c | 2 +-
rts/ghc.mk | 3 +
rts/posix/Clock.h | 2 +-
rts/posix/GetEnv.c | 2 +-
rts/posix/GetTime.c | 6 +-
rts/posix/Itimer.c | 6 +-
rts/posix/OSMem.c | 10 +-
rts/posix/OSThreads.c | 26 ++---
rts/posix/Signals.c | 6 +-
rts/sm/CNF.c | 2 +-
rts/sm/Evac.h | 2 +-
rts/sm/GCTDecl.h | 7 +-
rts/sm/GCUtils.c | 2 +-
rts/sm/GCUtils.h | 2 +-
rts/sm/Storage.c | 15 ++-
testsuite/tests/rts/T5435_asm.c | 4 +-
testsuite/tests/rts/linker_error.c | 6 +-
testsuite/tests/rts/linker_unload.c | 2 +-
testsuite/tests/rts/spalign.c | 6 +-
utils/ghc-pkg/Main.hs | 14 +--
utils/runghc/Main.hs | 10 +-
78 files changed, 536 insertions(+), 382 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 397fa9a52807b38a259bc89c38a470c2901b3a05
More information about the ghc-commits
mailing list