From: Martin Weinberg <weinberg@osprey.astro.umass.edu>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: oleg@pine.krs.ru
Cc: vadim@krs.ru
Cc: pgsql-interfaces@postgreSQL.org
Cc: pgsql-general@postgreSQL.org
Cc: weinberg@osprey.astro.umass.edu
Subject: Re: [GENERAL] Re: Errors in Postgres
Date: Sun, 24 Oct 1999 09:16:12 -0300
Message-ID: <199910241316.JAA26493@osprey.astro.umass.edu> (raw)
In-Reply-To: <199910241242.IAA14822@candle.pha.pa.us>
Bruce Momjian wrote on Sun, 24 Oct 1999 08:42:53 EDT
>This is a standard C++ problem. Some platforms need string.h, and some
>just string. We have not figured out a way to make this work on all
>platforms.
>
>Any ideas? We kept switching them back and forth until we realized
>this. Sun's seem to have the problem.
>
>At this point, and OS-specific test would probably be OK.
>
Yes, this has been trouble everywhere.
I believe <string> is ANSI. In the latest gnulibs, the old libg++ is
replaced by stdc++ which should have "string" defined. For what it's
worth, this works on one of our sparc solaris boxes with gcc 2.8.1.
Although it may well be something else, you might check to make sure
that you have the latest version of the gnu g++ libraries.
FYI, in the gnu implemenation, the "string" header is just an include
of the original "string.h" but at least it's conforming.
--Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: weinberg@osprey.astro.umass.edu, maillist@candle.pha.pa.us, oleg@pine.krs.ru, vadim@krs.ru, pgsql-general@postgreSQL.org
Subject: Re: [GENERAL] Re: Errors in Postgres
In-Reply-To: <199910241316.JAA26493@osprey.astro.umass.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox