Wireshark mailing list archives
Re: Do we still need/want -Wc++-compat?
From: Guy Harris <guy () alum mit edu>
Date: Wed, 30 Sep 2015 21:38:47 -0700
On Sep 30, 2015, at 6:53 PM, Guy Harris <guy () alum mit edu> wrote:
I think the intent was to be able to run Wireshark's C code through C++ compilers; I can't find the mail where this was discussed, but, as I remember, the issue was that Microsoft were dragging their feet on C99 support, and we wanted to be able to use at least some features present in both C99 and the versions of C++ supported by the Microsoft compiler. Microsoft have gotten more receptive to C99 features; is this something we still want to contemplate - and to try to keep open as a possibility, by compiling with -Wc++-compat? If I try to build what's currently in master, it fails on my Yosemite machine, with Xcode 7.0.1
Not after rebuilding and reinstalling all the development libraries and doing make maintainer-clean/autogen/configure/make. But what was the reason for adding checks for C++ compatibility, and does it still apply? ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Do we still need/want -Wc++-compat? Guy Harris (Sep 30)
- Re: Do we still need/want -Wc++-compat? Guy Harris (Sep 30)
- Re: Do we still need/want -Wc++-compat? Evan Huus (Sep 30)
- Re: Do we still need/want -Wc++-compat? Guy Harris (Sep 30)