scons: Enable -Wextra by default
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 11 Jan 2016 10:52:20 +0000 (05:52 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 11 Jan 2016 10:52:20 +0000 (05:52 -0500)
commit12eb0343784f52994110df7e7fce4a0b639a6ec3
tree12ff1c51b8051bb7e7d889eed499bee0dcd4cd1e
parent7661f1c2bf2b45603264076fabce2eb42373cd18
scons: Enable -Wextra by default

Make best use of the compiler, and enable -Wextra as well as
-Wall. There are a few issues that had to be resolved, but they are
all trivial.
33 files changed:
SConstruct
ext/dramsim2/SConscript
ext/libelf/SConscript
ext/nomali/SConscript
src/SConscript
src/arch/alpha/faults.hh
src/arch/alpha/utility.hh
src/arch/arm/faults.hh
src/arch/arm/utility.cc
src/arch/mips/faults.hh
src/arch/mips/isa/decoder.isa
src/arch/sparc/isa/decoder.isa
src/base/bitunion.hh
src/cpu/base_dyn_inst.hh
src/cpu/pred/sat_counter.hh
src/cpu/trace/trace_cpu.cc
src/dev/arm/hdlcd.hh
src/dev/arm/pl011.hh
src/dev/net/ethertap.cc
src/dev/net/ns_gige_reg.h
src/dev/net/pktfifo.hh
src/dev/sparc/iob.cc
src/dev/terminal.cc
src/mem/packet.hh
src/mem/page_table.hh
src/mem/request.hh
src/mem/ruby/slicc_interface/AbstractController.hh
src/mem/ruby/slicc_interface/Message.hh
src/mem/ruby/structures/RubyMemoryControl.cc
src/mem/ruby/structures/RubyMemoryControl.hh
src/mem/ruby/system/RubySystem.hh
src/sim/process.cc
src/sim/sim_events.hh