On Aug 9, 2017, at 12:01 PM, Sultan, Hassan <sul...@amazon.com> wrote:
> Awesome :) so no concerns about C++ 11 then ?
There's "concerns about C++" and there's "concerns about C++ 11".
The Wireshark Developer's Guide:
currently *recommends* Microsoft Visual Studio 2013 Community Edition, and
notes that we use that version to build the releases, but also mentions VS
2010. VS 2010 supports some, but not all, features in the C++11 core language
GCC 4.8.1 is claimed to be feature-complete for C++ 11:
"Clang 3.3 and later implement all of the ISO C++ 2011 standard.":
but "By default, Clang builds C++ code according to the C++98 standard, with
many C++11 features accepted as extensions. You can use Clang in C++11 mode
with the -std=c++11 option."
I don't know which versions of various vendor compilers for UN*X (Oracle
Studio, IBM XLC++ or whatever they call it, HP C++) support what versions of
the C++ standard; this page:
"is maintained as best-effort and may lag behind most recent compiler releases"
but might be worth checking.
If we were to require C++ 11 support, we might need to change the autoconf
script or the CMake files to ensure that we use flags such as -std=C++11 when
building C++ code.
Sent via: Wireshark-dev mailing list <email@example.com>