From: Oleg Broytmann <phd(at)sun(dot)med(dot)ru>
To: PostgreSQL-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject:
Date: 2000-04-11 10:01:55
Message-ID: Pine.GSO.4.21.0004111400500.8156-100000@sun
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Oleg Broytmann
Your email address : phd2(at)earthling(dot)net

System Configuration
---------------------
Architecture (example: Intel Pentium) : SUN Sparc Ultra-1

Operating System (example: Linux 2.0.26 ELF) : Solaris 2.5.1

PostgreSQL version (example: PostgreSQL-6.5.1): PostgreSQL-7.0beta5

Compiler used (example: gcc 2.8.0) : gcc 2.8.1

Please enter a FULL description of your problem:
------------------------------------------------
Compilation error:

make -C libpq++ all
make[2]: Entering directory `/usr/local/src/PostgreSQL/postgresql-7.0beta5/src/interfaces/libpq++'
gcc -O2 -I../../backend -I../../include -I../../interfaces/libpq -fPIC -c pgconnection.cc
In file included from pgconnection.cc:18:
pgconnection.h:76: syntax error before `('
pgconnection.cc:132: syntax error before `::'
pgconnection.cc:135: `buffer' was not declared in this scope
pgconnection.cc:135: `buffer' was not declared in this scope
pgconnection.cc:135: warning: ANSI C++ forbids declaration `memset' with no type or storage class
pgconnection.cc:135: `int memset' redeclared as different kind of symbol
/usr/include/string.h:56: previous declaration of `void * memset(void *, int, unsigned int)'
pgconnection.cc:135: warning: initializer list being treated as compound expression
pgconnection.cc:136: `buffer' was not declared in this scope
pgconnection.cc:136: `n' was not declared in this scope
pgconnection.cc:136: warning: ANSI C++ forbids declaration `sprintf' with no type or storage class
pgconnection.cc:136: `int sprintf' redeclared as different kind of symbol
/usr/include/stdio.h:177: previous declaration of `int sprintf(char *, const char * ...)'
pgconnection.cc:136: warning: initializer list being treated as compound expression
pgconnection.cc:137: parse error before `return'
make[2]: *** [pgconnection.o] Error 1
make[2]: Leaving directory `/usr/local/src/PostgreSQL/postgresql-7.0beta5/src/interfaces/libpq++'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/PostgreSQL/postgresql-7.0beta5/src/interfaces'
make: *** [all] Error 2

Oleg.
----
Oleg Broytmann http://members.xoom.com/phd2.1/ phd2(at)earthling(dot)net
Programmers don't die, they just GOSUB without RETURN.

Responses

  • Re: at 2000-04-11 14:28:59 from Tom Lane

Browse pgsql-bugs by date

  From Date Subject
Next Message Kovacs Zoltan Sandor 2000-04-11 11:03:51 WinODBC driver doesn't abort transaction on refint violation
Previous Message Didier Verna 2000-04-11 08:40:56 Re: #include oddity in v7.0b3