wireshark/epan
João Valverde 2aab706c5a Remove -Wwrite-strings compiler flag
The "-Wwrite-strings" flag produces nuisance warnings. These warnings are
not useful, they're impossible to fix in a sane way and therefore are being
handled with casts of static strings to (char *).

This just moves the warning to [-Wcast-qual] and a compiler pragma is
in turn required (and used) to squelch that warning.

Remove the Wwrite-strings warning. Let that responsibility fall on the
programmer (as is done by casting).

Change-Id: I5a44dfd9decd6d80797a521a3373593074962fb5
Reviewed-on: https://code.wireshark.org/review/12162
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-12 16:21:19 +00:00
..
compress Removed some remaining svn Id tags 2015-12-01 14:41:25 +00:00
crypt Removed some remaining svn Id tags 2015-12-01 14:41:25 +00:00
dfilter Type cleanups. 2015-12-05 20:41:32 +00:00
dissectors Remove -Wwrite-strings compiler flag 2015-12-12 16:21:19 +00:00
ftypes Add BASE_ALLOW_ZERO for byte arrays that are validly zero sized. 2015-11-30 18:28:10 +00:00
nghttp2 NGHTTP2: Update to 1.5.0 2015-11-27 05:32:19 +00:00
wmem Adds wmem_list_find function 2015-12-04 04:00:48 +00:00
wslua Lua: Check for empty name in ProtoField 2015-12-11 16:56:43 +00:00
CMakeLists.txt Revert "Added RTI TCP dissector" 2015-12-10 11:43:40 +00:00
CMakeListsCustom.txt.example
Makefile.am Revert "Build Flex-generated files with "warnings are errors"." 2015-12-05 17:13:28 +00:00
Makefile.common "Color dissector filters" are just filters. 2015-10-29 03:32:30 +00:00
Makefile.nmake Revert "Build Flex-generated files with "warnings are errors"." 2015-12-05 17:13:28 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c Remove configure --enable-ipv6 option 2015-11-23 04:07:37 +00:00
addr_resolv.h Export functions str_to_ip() and str_to_ip6() to plugins 2015-11-12 03:31:01 +00:00
address.h Remaining ADDRESS macro to address function conversions 2015-11-03 12:20:34 +00:00
address_types.c Make address_to_display() use proper (non-)constness 2015-11-29 00:25:11 +00:00
address_types.h Add WS_DLL_PUBLIC for Address Type Registration 2015-10-09 17:42:06 +00:00
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c
app_mem_usage.h
arcnet_pids.h
arptypes.h
asm_utils.c
asm_utils.h
asm_utils_win32_x86.asm
asn1.c asn1.c: fix printf arguments used with DEBUG flag 2015-10-09 18:45:26 +00:00
asn1.h Remove support for "old style" dissectors in PER API. 2015-11-24 23:33:37 +00:00
ax25_pids.h
bridged_pids.h
charsets.c
charsets.h
chdlctypes.h
circuit.c
circuit.h
column-info.h
column-utils.c column-utils: Refactor col_append_port() to col_append_ports() 2015-11-07 21:15:11 +00:00
column-utils.h column-utils: Refactor col_append_port() to col_append_ports() 2015-11-07 21:15:11 +00:00
column.c Qt: Set tooltip for packet list header 2015-11-23 05:41:09 +00:00
column.h Qt: Set tooltip for packet list header 2015-11-23 05:41:09 +00:00
conv_id.h
conversation.c Fix address hashing broken in g4f39c60 2015-12-03 02:00:18 +00:00
conversation.h STUN: register a new conversation dissector after receiving a ConnectionBind Success Response message 2015-10-30 18:08:06 +00:00
conversation_debug.h
conversation_table.c Fix address hashing broken in g4f39c60 2015-12-03 02:00:18 +00:00
conversation_table.h
crc6-tvb.c
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c
crc32-tvb.h
decode_as.c Don't allow multiple registrations of a protocol in dissector tables. 2015-11-04 12:39:40 +00:00
decode_as.h
diam_dict.h
diam_dict.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
disabled_protos.c Clean up includes of unistd.h, fcntl.h, and sys/stat.h. 2015-11-07 21:52:23 +00:00
disabled_protos.h
dissector_filters.c Tweak some names to better reflect what the named items are. 2015-10-29 04:22:02 +00:00
dissector_filters.h Move the definition of MAX_NUM_COLOR_CONVERSATION_COLORS. 2015-10-29 04:30:56 +00:00
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
dtd_preparse.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
dvb_chartbl.c Eliminate proto_tree_add_text from odds and ends. 2015-09-15 02:20:13 +00:00
dvb_chartbl.h
dwarf.c
dwarf.h
eap.h
eapol_keydes_types.h
enterprise-numbers [Automatic update for 2015-12-06] 2015-12-06 16:11:07 +00:00
epan-int.h
epan.c wsgcrypt.h checks internally if we HAVE_LIBGCRYPT 2015-11-02 11:42:00 +00:00
epan.h Catch REPORT_DISSECTOR_BUG() calls in dissector registration routines. 2015-10-28 00:44:26 +00:00
epan_dissect.h
etypes.h nwp: add support for NWP packets 2015-09-30 04:48:31 +00:00
ex-opt.c
ex-opt.h
except.c
except.h
exceptions.h wslua: fix crash when a LUA error is raised in TRY block 2015-10-05 02:30:16 +00:00
exntest.c
expert.c Qt: Reload Lua expert infos 2015-12-11 05:17:58 +00:00
expert.h epan: Don't export deregister functions 2015-12-11 08:35:11 +00:00
exported_pdu.c
exported_pdu.h [Nettrace] Add parsing of IP addresses and ports. 2015-10-23 07:14:18 +00:00
filter_expressions.c Qt: Add the ability to add filter expressions. 2015-10-29 19:00:34 +00:00
filter_expressions.h Qt: Add the ability to add filter expressions. 2015-10-29 19:00:34 +00:00
follow.c Use address functions instead of ADDRESS macros in asn1 and epan 2015-10-22 11:45:56 +00:00
follow.h
frame_data.c frame_data: Reset subnum if visited is resetted 2015-10-28 13:54:58 +00:00
frame_data.h Fix display of bytes as EBCDIC 2015-11-27 18:39:09 +00:00
frame_data_sequence.c
frame_data_sequence.h
funnel.c
funnel.h epan: Don't export deregister functions 2015-12-11 08:35:11 +00:00
g_int64_hash_routines.c
g_int64_hash_routines.h
garrayfix.h
gcp.c Use address functions instead of ADDRESS macros in asn1 and epan 2015-10-22 11:45:56 +00:00
gcp.h
geoip_db.c
geoip_db.h
golay.c
golay.h
guid-utils.c
guid-utils.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h
ipproto.c IPv6: Add ipv6extprotostr() to ipproto.h 2015-11-29 21:38:30 +00:00
ipproto.h IPv6: Add ipv6extprotostr() to ipproto.h 2015-11-29 21:38:30 +00:00
ipv4.c
ipv4.h
ipv6-utils.h
lapd_sapi.h
llcsaps.h SNA: add value 0xC8 to the list registered SAP 2015-09-27 20:41:10 +00:00
next_tvb.c
next_tvb.h
nlpid.h
oids.c
oids.h
oids_test.c
osi-utils.c
osi-utils.h
oui.c
oui.h
packet-range.c
packet-range.h
packet.c epan: Don't export deregister functions 2015-12-11 08:35:11 +00:00
packet.h epan: Don't export deregister functions 2015-12-11 08:35:11 +00:00
packet_info.h Remove the GSSAPI specific members out of packet_info structure. 2015-11-28 09:20:27 +00:00
params.h
plugin_if.c PluginIF: Parent menu and goto frame 2015-09-08 11:03:35 +00:00
plugin_if.h PluginIF: Parent menu and goto frame 2015-09-08 11:03:35 +00:00
ppptypes.h The Bridging Control Protocol is really two protocols. 2015-12-10 21:10:40 +00:00
prefs-int.h More spelling fixes found by lintian 2015-11-20 05:47:29 +00:00
prefs.c Spelling fixes for errors found by lintian 2015-12-07 07:11:54 +00:00
prefs.h epan: Don't export deregister functions 2015-12-11 08:35:11 +00:00
print.c Fix display of bytes as EBCDIC 2015-11-27 18:39:09 +00:00
print.h Display the name of the invalid field when tshark is run with -T fields 2015-09-12 20:19:59 +00:00
print.ps
print_stream.c
print_stream.h
proto.c Qt: Reload Lua expert infos 2015-12-11 05:17:58 +00:00
proto.h epan: Don't export deregister functions 2015-12-11 08:35:11 +00:00
ps.h
ptvcursor.h
radius_dict.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
range.c
range.h
reassemble.c reassemble: Add key destroy function to g_hash_table 2015-11-06 04:38:07 +00:00
reassemble.h
reassemble_test.c Use address functions instead of ADDRESS macros in asn1 and epan 2015-10-22 11:45:56 +00:00
reedsolomon.c
reedsolomon.h
req_resp_hdrs.c Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
req_resp_hdrs.h
rtd_table.c
rtd_table.h rtd_table(.h): fix api reference 2015-11-02 11:38:09 +00:00
rtp_pt.h
sctpppids.h
show_exception.c
show_exception.h
slow_protocol_subtypes.h
sminmpec.c [Automatic update for 2015-12-06] 2015-12-06 16:11:07 +00:00
sminmpec.h
srt_table.c
srt_table.h srt_table(.h): fix api reference 2015-11-02 11:40:07 +00:00
stat_groups.h
stat_tap_ui.c
stat_tap_ui.h
stats_tree.c stats_tree: re-indent else for avoid warning found by PVS Studio (V705) 2015-12-01 21:08:04 +00:00
stats_tree.h
stats_tree_priv.h
stream.c
stream.h
strutil.c
strutil.h
t35.c
t35.h
tap-voip.h
tap.c
tap.h
tfs.c
tfs.h
time_fmt.h
timestamp.c
timestamp.h
timestats.c
timestats.h
to_str-int.h If it's used by dissectors, it belongs in to_str.h, not to_str-int.h. 2015-10-19 16:40:43 +00:00
to_str.c Make other_decode_bitfield_value private to proto.c. 2015-09-13 00:15:35 +00:00
to_str.h Fix for bug 11856: 2015-12-05 16:26:18 +00:00
tpg.c
tpg.h Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
tvbparse.c Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
tvbparse.h
tvbtest.c
tvbuff-int.h
tvbuff.c Only check for the last nibble being 0x0f. 2015-12-02 01:47:55 +00:00
tvbuff.h Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
tvbuff_base64.c
tvbuff_composite.c
tvbuff_real.c
tvbuff_subset.c
tvbuff_zlib.c Fix buffer overrun in zlib decompression 2015-11-25 12:35:52 +00:00
uat-int.h Spelling fixes for errors found by lintian 2015-12-07 07:11:54 +00:00
uat.c Spelling fixes for errors found by lintian 2015-12-07 07:11:54 +00:00
uat.h Spelling fixes for errors found by lintian 2015-12-07 07:11:54 +00:00
uat_load.l Spelling fixes for errors found by lintian 2015-12-07 07:11:54 +00:00
value_string.c
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h