Wireshark mailing list archives

Re: Switch to C++11 or C++14


From: Guy Harris <guy () alum mit edu>
Date: Sat, 2 Jun 2018 11:48:36 -0700

On Jun 2, 2018, at 8:09 AM, Michał Łabędzki <michal.tomasz.labedzki () gmail com> wrote:

My setup of
Wireshark allow that because CMake set is as "-std=gnu++11", however,
Petri-Dish fails on Ubuntu because of old "-std=gnu99". I do not know
how it works because gnu99 is c99 + gnu extensions, but it is also C,
not C++ (are there "reference&" for C?).

If we're adding -std=gnu{anything} to the *C++* compile flags, that's a bug.

Could you indicate which Petri Dish failure added -std=gnu99 to any C++ compiler flags?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: