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

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Fri, 28 Jun 2013 17:23:40 -0400
On 06/28/13 14:07, Guy Harris 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?

I will admit I have no clue.  But I do know that:

1) there is no iostream.h on my Fedora 18 system (only a file named "/usr/include/c++/4.7.2/iostream")

2) My Fedora 18 system does not like cout without the "std::" prefix.

I probably could do more research or I could wait for someone to complain that it doesn't work (or for someone more C++ savvy than me to come along); obviously I chose one of the latter two. ;-)