ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 50206: /trunk/ /trunk/: configure.ac

Date Prev · Date Next · Thread Prev · Thread Next
From: Evan Huus <eapache@xxxxxxxxx>
Date: Fri, 28 Jun 2013 18:33:42 -0400
On Fri, Jun 28, 2013 at 2:07 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
>
> On Jun 28, 2013, at 5:18 AM, morriss@xxxxxxxxxxxxx wrote:
>
>> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50206
>>
>> User: morriss
>> Date: 2013/06/28 05:18 AM
>>
>> Log:
>> Standard C++ header files don't have .h in their name: #include <iostream>
>> rather than #include <iostream.h>.
>>
>> Also reference cout as std::cout in the test program.
>
> Will all C++ implementations handle that?

Anything standards-compliant will. There are theoretically
older/incomplete compilers that won't, but none of them are in common
use that I'm aware of.

> Will any C++ implementations that don't handle that handle
>
>         1) Qt
>
> and
>
>         2) Wireshark's C++ code
>
> given that they're pre-standard implementations?

No. Qt at the very least makes extensive use of this sort of thing
(and there is talk in the Qt community of requiring the new C++11
standard for Qt6 whenever that is).