Add some GCC warnings to the standard set, and add some others to the
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 23 Apr 2007 10:59:26 +0000 (10:59 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 23 Apr 2007 10:59:26 +0000 (10:59 +0000)
commit1cb2713ca4f49017083a4854068a7bd5027d37cc
treef690697725617a640820ade652da4cf766bdc863
parentedb41d122c7688f977051b18a144a7cc6ffd1b93
Add some GCC warnings to the standard set, and add some others to the
--enable-extra-gcc-checks set.

If we turn on -pedantic, try turning on -Wno-long-long as well, so that
it's not *so* pedantic that it rejects the 64-bit integral data types
that we explicitly require.

Constify a bunch of stuff, and make some other changes, to get rid of
warnings.

Clean up some indentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21526 f5534014-38df-0310-8fa8-9805f1628bb7
56 files changed:
asn1/snmp/packet-snmp-template.c
configure.in
epan/address.h
epan/dfilter/dfilter-macro.c
epan/dfilter/dfilter-macro.h
epan/dfilter/dfilter.c
epan/dfilter/dfilter.h
epan/dfilter/dfunctions.h
epan/dissectors/packet-3g-a11.c
epan/dissectors/packet-alcap.c
epan/dissectors/packet-bacapp.c
epan/dissectors/packet-ber.c
epan/dissectors/packet-ber.h
epan/dissectors/packet-bittorrent.c
epan/dissectors/packet-bootp.c
epan/dissectors/packet-bssap.c
epan/dissectors/packet-bssgp.c
epan/dissectors/packet-cimd.c
epan/dissectors/packet-cups.c
epan/dissectors/packet-dcerpc-samr.c
epan/dissectors/packet-dcerpc-spoolss.c
epan/dissectors/packet-dcerpc-svcctl.c
epan/dissectors/packet-dcm.c
epan/dissectors/packet-dcom.c
epan/dissectors/packet-dcom.h
epan/dissectors/packet-diameter.c
epan/dissectors/packet-dns.c
epan/dissectors/packet-dns.h
epan/dissectors/packet-enip.c
epan/dissectors/packet-fcswils.c
epan/dissectors/packet-fix.c
epan/dissectors/packet-icmpv6.c
epan/dissectors/packet-isup.c
epan/dissectors/packet-k12.c
epan/dissectors/packet-nbns.c
epan/dissectors/packet-sccp.c
epan/dissectors/packet-scsi-osd.c
epan/dissectors/packet-snmp.c
epan/dissectors/packet-ssl-utils.c
epan/dissectors/packet-user_encap.c
epan/emem.c
epan/emem.h
epan/funnel.h
epan/packet.c
epan/packet.h
epan/tvbuff.c
epan/tvbuff.h
epan/uat-int.h
epan/uat.c
epan/uat.h
epan/uat_load.l
epan/xmlstub.h
gtk/decode_as_dlg.c
gtk/funnel_stat.c
gtk/uat_gui.c
tshark.c