Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 8342] New: remove C++ incompatibilities in c1222 dissector

Date: Sat, 16 Feb 2013 16:42:13 +0000
Bug ID 8342
Summary remove C++ incompatibilities in c1222 dissector
Classification Unclassified
Product Wireshark
Version SVN
Hardware x86-64
OS All
Status UNCONFIRMED
Severity Minor
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Created attachment 10026 [details]
patch to remove C++ incompatibilities and dead code from c1222 dissector

Build Information:
wireshark 1.9.0 (SVN Rev 47694 from /trunk)

Copyright 1998-2013 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.24.13, with Cairo 1.10.2, with Pango 1.30.0, with
GLib 2.32.4, with libpcap, with libz 1.2.5, without POSIX capabilities, without
libnl, without SMI, without c-ares, without ADNS, with Lua 5.1, without Python,
without GnuTLS, with Gcrypt 1.5.0, without Kerberos, without GeoIP, without
PortAudio, with AirPcap.

Running on Linux 3.6.11-1.fc17.x86_64, with locale en_US.UTF-8, with libpcap
version 1.2.1, with libz 1.2.5, Gcrypt 1.5.0, without AirPcap.
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+

Built using gcc 4.7.2 20120921 (Red Hat 4.7.2-2).

--
In recent discussions on the list, we mulled the possible benefits of compiling
with a C++ compiler for its superior error checking.  To assist in such a
possible transition, certain C++ code incompatibilities such as use of keywords
such as "class" or "export" (legal in C) and implicit type conversion from
"void *" to "char *" and similar conversions.  The patch addresses these items
for a single dissector, but also addresses an implicit cast in the epan/uat.h
file.


You are receiving this mail because:
  • You are watching all bug changes.