============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Oleg Broytmann
Your email address : phd2@earthling.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@earthling.net
Programmers don't die, they just GOSUB without RETURN.