Wireshark-dev: Re: [Wireshark-dev] Idle Thought - Compiling with C++

From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
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