[commit: ghc] wip/erikd/rts: rts: Add `-Wundef` to CFLAGS and fix warnings (f734afd)
git at git.haskell.org
git at git.haskell.org
Thu Oct 20 09:44:44 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/erikd/rts
Link : http://ghc.haskell.org/trac/ghc/changeset/f734afdc057385e45928bea84bef28a053b979eb/ghc
>---------------------------------------------------------------
commit f734afdc057385e45928bea84bef28a053b979eb
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
>---------------------------------------------------------------
f734afdc057385e45928bea84bef28a053b979eb
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 | 6 +-
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 +-
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 | 209 ++++++++++++++++++------------------
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 | 2 +-
rts/posix/OSThreads.c | 24 ++---
rts/posix/Signals.c | 6 +-
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 +-
76 files changed, 526 insertions(+), 373 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 f734afdc057385e45928bea84bef28a053b979eb
More information about the ghc-commits
mailing list