Hello,
I'm getting the following problem:
In file included from CDatenbankSQL.cpp:8:
CDatenbankSQL.h:20: warning: ANSI C++ forbids
initialization of member `data'
/usr/local/pgsql/include/libpq++.H: In method
`CDatenbankSQL::CDatenbankSQL()':
/usr/local/pgsql/include/libpq++.H:74: constructor
`PgDatabase::PgDatabase()' is protected
CDatenbankSQL.cpp:11: within this context
CDatenbankSQL.cpp:11: in base initialization for class
`PgDatabase'
The class instantiates a public member 'PgDatabase
data("soft4")'.
The constructor looks like this:
CDatenbankSQL::CDatenbankSQL(void)
{iError = 0;sprintf(dbName, "soft4");iRowPos = 0;iFieldPos = 0;iConnected = 0;
}
what's wrong there ?
thanks in advance.
cheers,
Aga
-----------------------------------------------------------------
This mail was sent through IMP http://webmail.fh-konstanz.de/imp/ (http://web.horde.org/imp/)