Guest User

Untitled

a guest
May 2nd, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.18 KB | None | 0 0
  1. In file included from /usr/include/postgresql/server/nodes/parsenodes.h:27,
  2.                  from /usr/include/postgresql/server/utils/acl.h:36,
  3.                  from /usr/include/postgresql/server/catalog/objectaddress.h:18,
  4.                  from /usr/include/postgresql/server/catalog/pg_type.h:24,
  5.                  from ../../../../src/sql/drivers/psql/qsql_psql.cpp:61:
  6. /usr/include/postgresql/server/nodes/primnodes.h: At global scope:
  7. /usr/include/postgresql/server/nodes/primnodes.h:245:16: error: redefinition of ‘struct Param’
  8.   245 | typedef struct Param
  9.       |                ^~~~~
  10. In file included from ../../../../src/sql/drivers/psql/qsql_psql.cpp:42:
  11. ../../../../include/private/qsqlextension_p.h:74:8: note: previous definition of ‘struct Param’
  12.    74 | struct Param {
  13.       |        ^~~~~
  14. In file included from /usr/include/postgresql/server/nodes/parsenodes.h:27,
  15.                  from /usr/include/postgresql/server/utils/acl.h:36,
  16.                  from /usr/include/postgresql/server/catalog/objectaddress.h:18,
  17.                  from /usr/include/postgresql/server/catalog/pg_type.h:24,
  18.                  from ../../../../src/sql/drivers/psql/qsql_psql.cpp:61:
  19. /usr/include/postgresql/server/nodes/primnodes.h:254:3: error: conflicting declaration ‘typedef int Param’
  20.   254 | } Param;
  21.       |   ^~~~~
  22. In file included from ../../../../src/sql/drivers/psql/qsql_psql.cpp:42:
  23. ../../../../include/private/qsqlextension_p.h:74:8: note: previous declaration as ‘struct Param’
  24.    74 | struct Param {
  25.       |        ^~~~~
  26. ../../../../src/sql/drivers/psql/qsql_psql.cpp: In function ‘QVariant::Type qDecodePSQLType(int)’:
  27. ../../../../src/sql/drivers/psql/qsql_psql.cpp:150:10: error: ‘ABSTIMEOID’ was not declared in this scope; did you mean ‘TIMEOID’?
  28.   150 |     case ABSTIMEOID     :
  29.       |          ^~~~~~~~~~
  30.       |          TIMEOID
  31. ../../../../src/sql/drivers/psql/qsql_psql.cpp:151:10: error: ‘RELTIMEOID’ was not declared in this scope; did you mean ‘TIMEOID’?
  32.   151 |     case RELTIMEOID     :
  33.       |          ^~~~~~~~~~
  34.       |          TIMEOID
  35. ../../../../src/sql/drivers/psql/qsql_psql.cpp: In member function ‘virtual QString QPSQLDriver::formatValue(const QSqlField*, bool) const’:
  36. ../../../../src/sql/drivers/psql/qsql_psql.cpp:1046:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  37.  1046 |      if ( field->value().toTime().isValid() ) {
  38.       |      ^~
  39. ../../../../src/sql/drivers/psql/qsql_psql.cpp:1051:2: note: here
  40.  1051 |  case QVariant::String:
  41.       |  ^~~~
  42. make[4]: *** [Makefile:135: .obj/qsql_psql.o] Error 1
  43. make[4]: Leaving directory '/home/benny/Build/qt3/src/qt-x11-free-3.3.8b/plugins/src/sqldrivers/psql'
  44. make[3]: *** [Makefile:30: sub-psql] Error 2
  45. make[3]: Leaving directory '/home/benny/Build/qt3/src/qt-x11-free-3.3.8b/plugins/src/sqldrivers'
  46. make[2]: *** [Makefile:49: sub-sqldrivers] Error 2
  47. make[2]: Leaving directory '/home/benny/Build/qt3/src/qt-x11-free-3.3.8b/plugins/src'
  48. make[1]: *** [Makefile:64: sub-plugins] Error 2
  49. make[1]: Leaving directory '/home/benny/Build/qt3/src/qt-x11-free-3.3.8b'
  50. make: *** [Makefile:8: init] Error 2
  51. ==> ERROR: A failure occurred in build().
  52.     Aborting...
Add Comment
Please, Sign In to add comment