Re: [GENERAL] Re: Errors in Postgres
От | Martin Weinberg |
---|---|
Тема | Re: [GENERAL] Re: Errors in Postgres |
Дата | |
Msg-id | 199910241316.JAA26493@osprey.astro.umass.edu обсуждение исходный текст |
Ответ на | Re: Errors in Postgres (Bruce Momjian <maillist@candle.pha.pa.us>) |
Список | pgsql-interfaces |
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
В списке pgsql-interfaces по дате отправления: