ddd
[Top][All Lists]
Advanced

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

ddd with Tru64 cxx


From: Tim Mooney
Subject: ddd with Tru64 cxx
Date: Wed, 14 Jan 2004 14:52:45 -0600 (CST)

I've been unable to compile any version of ddd with the Tru64 UNIX cxx
compiler since Andreas quit maintaining it.

I've noticed that many opensource projects that were developed primarily
with gcc's C++ compiler seem to want to use things like:

        std::cout << "hello, world!";

The Tru64 UNIX compiler complains about this:

cxx: Error: configure, line 4881: #135 namespace "std" has no member "cout" 
(notmember)

If you change that to

using namespace std;


        cout << "hello, world!";


it works fine.  I looked through the source code, and since 3.3.1 every
instance of `cerr' or `cout' has been changed to `std::cerr' and
`std::cout', respectively.  Does anyone know why that was done?

Tim
-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164




reply via email to

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