Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/include/postgresql/server/nodes/parsenodes.h:27,
- from /usr/include/postgresql/server/utils/acl.h:36,
- from /usr/include/postgresql/server/catalog/objectaddress.h:18,
- from /usr/include/postgresql/server/catalog/pg_type.h:24,
- from ../../../../src/sql/drivers/psql/qsql_psql.cpp:61:
- /usr/include/postgresql/server/nodes/primnodes.h: At global scope:
- /usr/include/postgresql/server/nodes/primnodes.h:245:16: error: redefinition of ‘struct Param’
- 245 | typedef struct Param
- | ^~~~~
- In file included from ../../../../src/sql/drivers/psql/qsql_psql.cpp:42:
- ../../../../include/private/qsqlextension_p.h:74:8: note: previous definition of ‘struct Param’
- 74 | struct Param {
- | ^~~~~
- In file included from /usr/include/postgresql/server/nodes/parsenodes.h:27,
- from /usr/include/postgresql/server/utils/acl.h:36,
- from /usr/include/postgresql/server/catalog/objectaddress.h:18,
- from /usr/include/postgresql/server/catalog/pg_type.h:24,
- from ../../../../src/sql/drivers/psql/qsql_psql.cpp:61:
- /usr/include/postgresql/server/nodes/primnodes.h:254:3: error: conflicting declaration ‘typedef int Param’
- 254 | } Param;
- | ^~~~~
- In file included from ../../../../src/sql/drivers/psql/qsql_psql.cpp:42:
- ../../../../include/private/qsqlextension_p.h:74:8: note: previous declaration as ‘struct Param’
- 74 | struct Param {
- | ^~~~~
- ../../../../src/sql/drivers/psql/qsql_psql.cpp: In function ‘QVariant::Type qDecodePSQLType(int)’:
- ../../../../src/sql/drivers/psql/qsql_psql.cpp:150:10: error: ‘ABSTIMEOID’ was not declared in this scope; did you mean ‘TIMEOID’?
- 150 | case ABSTIMEOID :
- | ^~~~~~~~~~
- | TIMEOID
- ../../../../src/sql/drivers/psql/qsql_psql.cpp:151:10: error: ‘RELTIMEOID’ was not declared in this scope; did you mean ‘TIMEOID’?
- 151 | case RELTIMEOID :
- | ^~~~~~~~~~
- | TIMEOID
- ../../../../src/sql/drivers/psql/qsql_psql.cpp: In member function ‘virtual QString QPSQLDriver::formatValue(const QSqlField*, bool) const’:
- ../../../../src/sql/drivers/psql/qsql_psql.cpp:1046:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 1046 | if ( field->value().toTime().isValid() ) {
- | ^~
- ../../../../src/sql/drivers/psql/qsql_psql.cpp:1051:2: note: here
- 1051 | case QVariant::String:
- | ^~~~
- make[4]: *** [Makefile:135: .obj/qsql_psql.o] Error 1
- make[4]: Leaving directory '/home/benny/Build/qt3/src/qt-x11-free-3.3.8b/plugins/src/sqldrivers/psql'
- make[3]: *** [Makefile:30: sub-psql] Error 2
- make[3]: Leaving directory '/home/benny/Build/qt3/src/qt-x11-free-3.3.8b/plugins/src/sqldrivers'
- make[2]: *** [Makefile:49: sub-sqldrivers] Error 2
- make[2]: Leaving directory '/home/benny/Build/qt3/src/qt-x11-free-3.3.8b/plugins/src'
- make[1]: *** [Makefile:64: sub-plugins] Error 2
- make[1]: Leaving directory '/home/benny/Build/qt3/src/qt-x11-free-3.3.8b'
- make: *** [Makefile:8: init] Error 2
- ==> ERROR: A failure occurred in build().
- Aborting...
Add Comment
Please, Sign In to add comment