[Top][All Lists]

[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:
CPPFLAGS=-I/usr/include/c++/4.1.1/backward ./configure
--prefix=/tmp/ddd --includedir=/usr/include/c++/4.1.1/backward

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:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers found
in section 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

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

ostrstream is defined in <sstream> which is located in

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


Best Regards


Hello Edd,

First off, which version of DDD are you building?

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


reply via email to

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