Re: C++ problems with RC1

From: Trond Eivind Glomsrød <teg(at)redhat(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: C++ problems with RC1
Date: 2002-01-24 19:47:12
Message-ID: Pine.LNX.4.44.0201241444500.7504-100000@halden.devel.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 24 Jan 2002, Tom Lane wrote:

> teg(at)redhat(dot)com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=) writes:
> > The autoconf test for C++ doesn't work with standard-enforcing
> > compilers....
>
> Exactly what part of it doesn't work? AFAICT, the first test is
> just to see if
> #include <string>
> succeeds, and if that works then we do not try the section you seem
> to be blaming. So it looks to me like a compiler that conforms
> to the C++-standard-of-the-month should work fine: both
> HAVE_CXX_STRING_HEADER and HAVE_NAMESPACE_STD should become set.
> What are you seeing?

I saw it failing... however, the cause for this failing was the use of
multiline literals (cc_version). The compilers warns about this being
deprecated, and autoconf thinks this means the test failed. See the other
patch I posted yesterday.

--
Trond Eivind Glomsrød
Red Hat, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bill Studenmund 2002-01-24 19:50:12 Re: RFD: schemas and different kinds of Postgres objects
Previous Message Bill Studenmund 2002-01-24 19:47:07 Re: RFD: schemas and different kinds of Postgres objects