bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using namespace std; needed in tagdemo


From: Peter O'Gorman
Subject: using namespace std; needed in tagdemo
Date: Thu, 02 Sep 2004 12:22:57 +0900
User-agent: Mozilla Thunderbird 0.6 (Macintosh/20040502)

Hi,

I decided to run "make check" on darwin with xlc++ as CXX and xlc as CC, all the C tests passed fine, I guess I never tested c++ before (oops!) as tagdemo fails. main.cpp and foo.cpp need a "using namespace std;" or need to change cout to std::cout and endl to std::endl.

Problem is that I'm not sure if/how this change will affect older compilers.

Thoughts? Answers?

Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]