Wireshark mailing list archives

Re: Idle Thought - Compiling with C++


From: Jakub Zawadzki <darkjames-ws () darkjames pl>
Date: Mon, 11 Feb 2013 19:57:42 +0100

On Mon, Feb 11, 2013 at 12:36:52PM -0500, Evan Huus wrote:
Moving just to a C++ compiler shouldn't cause problems for anybody.
While C++ isn't technically a superset of C, it is trivial for C
programmers to avoid the few areas of incompatibility (as far as I
know there are simply a few more reserved words like 'new' to avoid in
variable names).

FYI,

Currently we have about 7k (6987) C++ not permitted constructs in sources:

http://buildbot.wireshark.org/trunk/builders/Ubuntu-12.04-x64/builds/3671/steps/compile/logs/warnings%20(18752)/text

$ cat /tmp/text | grep 'Wc++-compat' | wc -l
6987

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: