ddd
[Top][All Lists]
Advanced

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

Re: Compilation Issues on Centos5


From: Andrew Gaylard
Subject: Re: Compilation Issues on Centos5
Date: Wed, 7 Nov 2007 12:55:47 +0200


On Nov 7, 2007 12:50 PM, Edd Barrett <address@hidden> wrote:
Hi there,

I am trying to build ddd on a centos 5 box, for student use in a university.

Th configure command I am using looks like this:
---8<---
CPPFLAGS=-I/usr/include/c++/4.1.1/backward ./configure
--prefix=/tmp/ddd --includedir=/usr/include/c++/4.1.1/backward
--oldincludedir=/usr/include/c++/4.1.1/backward
---8<---

As you can see I have tried everything I can to have the compiler use
the 'backward compatible' headers, which either redhat or centos have
decided should be moved out of the standard header path.

The build initially fails with the following error:
---8<---
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers found
in section 17.4.1.2 of the C++ standard. Examples include substituting
the <X> header for the <X.h> header for C++ includes, or <iostream>
instead of the deprecated header <iostream.h>. To disable this warning
use -Wno-deprecated.
strclass.h:543: error: expected `)' before '&' token
---8<---

Line 543 of strclass.h looks like this:
---8<---
string(ostrstream& os); // should be const
---8<---

ostrstream is defined in <sstream> which is located in
/usr/lib/c++/4.1.1/backward.

At this point I am stuck. Does anyone have any ideas?

Thanks

--
Best Regards

Edd

Hello Edd,

First off, which version of DDD are you building?

A vanilla "./configure" should work.  If it doesn't, it's a bug.

Andrew

reply via email to

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