Version 6.4.2 fails to compile with these errors on my HPUX system with the
HP CC (C++) compiler.  
I don't need either of these interfaces (ecpg or libpq++)  so I don't really
care; just trying to give feedback to the developers.


============================================================================
==

gmake[3]: Entering directory
`/home/jfoste/DBase/postgresql-6.4.2/src/interfaces/ecpg/preproc'
lex pgc.l
"pgc.l" line 333: warning 45: Non-portable Character Class
"pgc.l" line 333: warning 45: Non-portable Character Class
"pgc.l" line 471: warning 45: Non-portable Character Class
"pgc.l" line 471: warning 45: Non-portable Character Class
"pgc.l" line 471: warning 45: Non-portable Character Class
"pgc.l" line 471: warning 45: Non-portable Character Class
"pgc.l" line 475: warning 45: Non-portable Character Class
"pgc.l" line 475: warning 45: Non-portable Character Class
"pgc.l" line 536: warning 45: Non-portable Character Class
"pgc.l" line 536: warning 45: Non-portable Character Class
"pgc.l" line 585: warning 45: Non-portable Character Class
"pgc.l" line 585: warning 45: Non-portable Character Class
"pgc.l" line 674: warning 48: Undefined start condition <EOF
"pgc.l" line 708: error 14: Too many transitions, Try using %a num
671/1000 nodes(%e), 1482/2500 positions(%p), 168/500 (%n), 14470
transitions, 895/1000 packed char classes(%k), 2000/2000 packed transitio
ns(%a), 0/0 output slots(%o)
gmake[3]: *** [pgc.c] Error 1
gmake[3]: Leaving directory
`/home/jfoste/DBase/postgresql-6.4.2/src/interfaces/ecpg/preproc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/home/jfoste/DBase/postgresql-6.4.2/src/interfaces/ecpg'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/home/jfoste/DBase/postgresql-6.4.2/src/interfaces'
gmake: *** [all] Error 2


============================================================================
==

So I removed the build of ecpg in the interfaces/Makefile, then I get this
error -

============================================================================
==


gmake[2]: Entering directory
`/home/jfoste/DBase/postgresql-6.4.2/src/interfaces/libpq++'
aCC  -I../../backend -I../../include -I../../interfaces/libpq
-I../../include -I../../backend   -Wl,-E -Ae   +z   -c pgconnection.cc -o
pgc
onnection.o
aCC: warning 901: unknown option: `-Ae': use +help for online documentation.
Error 388: "pgconnection.cc", line 38 # Member function
"PgConnection::PgConnection(PgConnection &)" was not declared in class
    PgConnection ["pgconnection.h", line 37].
    PgConnection::PgConnection(const PgConnection& conn)
                  ^^^^^^^^^^^^
Error 388: "pgconnection.cc", line 44 # Member function
"PgConnection::PgConnection(char *)" was not declared in class PgConnection
    ["pgconnection.h", line 37].
    PgConnection::PgConnection(const char* dbName)
                  ^^^^^^^^^^^^
Error 388: "pgconnection.cc", line 58 # Member function
"PgConnection::PgConnection(PgEnv &,char *)" was not declared in class
    PgConnection ["pgconnection.h", line 37].
    PgConnection::PgConnection(const PgEnv& env, const char* dbName)
                  ^^^^^^^^^^^^
Error 388: "pgconnection.cc", line 83 # Member function "ConnStatusType
PgConnection::Connect(char *)" was not declared in class
    PgConnection ["pgconnection.h", line 37].
    ConnStatusType PgConnection::Connect(const char* dbName)
                                 ^^^^^^^
Error (future) 212: "pgconnection.cc", line 94 # Argument type 'const char
*' does not match expected parameter type 'char *'.
        fe_setauthsvc(pgEnv.Auth(), errorMessage);
                      ^^^^^^^^^^^^
Error 388: "pgconnection.cc", line 115 # Member function "ExecStatusType
PgConnection::Exec(char *)" was not declared in class
    PgConnection ["pgconnection.h", line 37].
    ExecStatusType PgConnection::Exec(const char* query)
                                 ^^^^
Error 388: "pgconnection.cc", line 134 # Member function "int
PgConnection::ExecCommandOk(char *)" was not declared in class PgConnection
    ["pgconnection.h", line 37].
    int PgConnection::ExecCommandOk(const char* query)
                      ^^^^^^^^^^^^^
Error 388: "pgconnection.cc", line 139 # Member function "int
PgConnection::ExecTuplesOk(char *)" was not declared in class PgConnection
    ["pgconnection.h", line 37].
    int PgConnection::ExecTuplesOk(const char* query)
                      ^^^^^^^^^^^^
Error 388: "pgconnection.cc", line 154 # Member function "void
 
PgConnection::SetErrorMessage(basic_string<char,string_char_traits<char>,all
ocator> &,int)" was not declared in class PgConnection
    ["pgconnection.h", line 37].
    void PgConnection::SetErrorMessage(const string& msg, int append)
                       ^^^^^^^^^^^^^^^
Warning:        1 future errors were detected and ignored. Add a '+p' option
to detect and fix them before they become fatal errors in a fu
ture release. Behavior of this ill-formed program is not guaranteed to match
that of a well-formed program
gmake[2]: *** [pgconnection.o] Error 2
gmake[2]: Leaving directory
`/home/jfoste/DBase/postgresql-6.4.2/src/interfaces/libpq++'


Jeff Foster
[EMAIL PROTECTED]

Reply via email to