Wireshark mailing list archives
Re: Idle Thought - Compiling with C++
From: Gerald Combs <gerald () wireshark org>
Date: Tue, 12 Feb 2013 13:53:08 -0800
On 2/12/13 1:17 PM, Jaap Keuter wrote:
On 02/11/2013 06:36 PM, 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).Add this the the reading list: http://david.tribble.com/text/cdiffs.htm May not be all applicable (C89 and such) but show what a can-o-worms it can be. That's probably where that 7k number comes from.
When starting on the Qt code I found the Google C++ Style Guide to be helpful: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml Anyone outside of Google probably shouldn't adhere to it strictly but it provides clean, concise descriptions on why they do and don't do various things. We should steal the format for README.developer, BTW. ___________________________________________________________________________ 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:
- Re: Idle Thought - Compiling with C++, (continued)
- Re: Idle Thought - Compiling with C++ Guy Harris (Feb 09)
- Re: Idle Thought - Compiling with C++ Evan Huus (Feb 09)
- Re: Idle Thought - Compiling with C++ Donald White (Feb 09)
- Re: Idle Thought - Compiling with C++ Ed Beroset (Feb 10)
- Re: Idle Thought - Compiling with C++ Evan Huus (Feb 10)
- Re: Idle Thought - Compiling with C++ Dirk Jagdmann (Feb 11)
- Re: Idle Thought - Compiling with C++ Richard Stearn (Feb 11)
- Re: Idle Thought - Compiling with C++ Evan Huus (Feb 11)
- Re: Idle Thought - Compiling with C++ Jakub Zawadzki (Feb 11)
- Re: Idle Thought - Compiling with C++ Jaap Keuter (Feb 12)
- Re: Idle Thought - Compiling with C++ Gerald Combs (Feb 12)
- Re: Idle Thought - Compiling with C++ Jaap Keuter (Feb 12)
- Re: Idle Thought - Compiling with C++ Evan Huus (Feb 12)
- Re: Idle Thought - Compiling with C++ Evan Huus (Feb 09)
- Re: Idle Thought - Compiling with C++ Evan Huus (Feb 12)
- Re: Idle Thought - Compiling with C++ Guy Harris (Feb 09)
- Re: Idle Thought - Compiling with C++ Evan Huus (Feb 11)
- Re: Idle Thought - Compiling with C++ Evan Huus (Feb 12)
- Re: Idle Thought - Compiling with C++ Evan Huus (Feb 12)
- Re: Idle Thought - Compiling with C++ Guy Harris (Feb 11)
- Re: Idle Thought - Compiling with C++ Evan Huus (Feb 11)
- Lemon.c/lempar.c Anders Broman (Feb 11)
- Re: Idle Thought - Compiling with C++ Ed Beroset (Feb 11)