[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ddd with Tru64 cxx
From: |
Arnaud Desitter |
Subject: |
Re: ddd with Tru64 cxx |
Date: |
Fri, 16 Jan 2004 10:30:11 -0000 |
Hi,
After a quick search and according
http://h30097.www3.hp.com/cplus/cxx_ref.htm#lib_opt
you need to add "-D__USE_STD_IOSTREAM" to compile
you example below. Could you try it and report your results
to this list ?
Regards,
----- Original Message -----
From: "Tim Mooney" <address@hidden>
Newsgroups: gmane.comp.debugging.ddd.general
Sent: Wednesday, January 14, 2004 8:52 PM
Subject: ddd with Tru64 cxx
>
> 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