Home page logo

wireshark logo Wireshark mailing list archives

Re: [Wireshark-commits] rev 50206: /trunk/ /trunk/: configure.ac
From: Jeff Morriss <jeff.morriss.ws () gmail com>
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 () wireshark org wrote:


User: morriss
Date: 2013/06/28 05:18 AM

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. ;-)

Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]