From: | oberpwd(at)anubis(dot)network(dot)com (Wade D(dot) Oberpriller) |
---|---|
To: | pgsql-general(at)postgresql(dot)org (general-help postgresql) |
Subject: | libpq++ |
Date: | 2001-01-22 16:28:25 |
Message-ID: | 200101221628.KAA09638@truck.network.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Dan Wilson | 2001-01-22 17:01:25 | Re: System tables |
Previous Message | Guillaume Lémery | 2001-01-22 16:00:16 | Re: Troubles with performances |