libpq++
От | oberpwd@anubis.network.com (Wade D. Oberpriller) |
---|---|
Тема | libpq++ |
Дата | |
Msg-id | 200101221628.KAA09638@truck.network.com обсуждение исходный текст |
Ответы |
Re: libpq++
|
Список | pgsql-general |
Hello, I am using PostgreSQL v7.0.2. I compiled myself with gcc/g++ v2.7.2.2 on Solaris 2.5.1. In libpq++, I get compiler warnings complaining that namespaces are mostly broken in this version of g++. When I attempt to run a piece of client code that was linked with libpq++.so, I get a symbol referencing error. Here is some of the output when I compile libpq++: c++ -g -O2 -I../../backend -I../../include -I../../interfaces/libpq -fPIC -c pgconnection.cc In file included from pgconnection.cc:18: pgconnection.h:46: warning: namespaces are mostly broken in this version of g++ c++ -g -O2 -I../../backend -I../../include -I../../interfaces/libpq -fPIC -c pgdatabase.cc In file included from pgdatabase.h:26, from pgdatabase.cc:18: pgconnection.h:46: warning: namespaces are mostly broken in this version of g++ c++ -g -O2 -I../../backend -I../../include -I../../interfaces/libpq -fPIC -c pgtransdb.cc In file included from pgdatabase.h:26, from pgtransdb.h:26, from pgtransdb.cc:18: pgconnection.h:46: warning: namespaces are mostly broken in this version of g++ c++ -g -O2 -I../../backend -I../../include -I../../interfaces/libpq -fPIC -c pgcursordb.cc In file included from pgdatabase.h:26, from pgtransdb.h:26, from pgcursordb.h:26, from pgcursordb.cc:18: I've read the little README file on libpq++, and it states that libpq++ was only tested with g++ v2.7.2.1. I'm wondering did something get broken in this new version of the compiler? I also compiled with libpq.so and it seems to work fine. Wade Oberpriller
В списке pgsql-general по дате отправления: