On 06/28/13 14:07, Guy Harris wrote:

On Jun 28, 2013, at 5:18 AM, [email protected] 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. ;-)

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]?subject=unsubscribe

Reply via email to