← Back to team overview

linux-traipu team mailing list archive

[Bug 1208736] [NEW] Issue arises with new GCC 4.6

 

Public bug reported:

In file included from ./drizzled/charset.h:31:0,
                 from ./drizzled/session.h:36,
                 from ./plugin/json_server/ddl/table.h:1,
                 from plugin/json_server/ddl/table.cc:1:
./drizzled/definitions.h:59:5: error: "SIZEOF_OFF_T" is not defined [-Werror=undef]
In file included from ./drizzled/session.h:37:0,
                 from ./plugin/json_server/ddl/table.h:1,
                 from plugin/json_server/ddl/table.cc:1:
./drizzled/base.h:409:5: error: "SIZEOF_OFF_T" is not defined [-Werror=undef]
In file included from ./drizzled/session.h:46:0,
                 from ./plugin/json_server/ddl/table.h:1,
                 from plugin/json_server/ddl/table.cc:1:
./drizzled/type/time.h:23:5: error: "TIME_WITH_SYS_TIME" is not defined [-Werror=undef]
./drizzled/type/time.h:27:6: error: "HAVE_SYS_TIME_H" is not defined [-Werror=undef]
In file included from ./drizzled/cursor.h:22:0,
                 from ./drizzled/table.h:30,
                 from ./drizzled/sql_base.h:24,
                 from ./drizzled/statement.h:26,
                 from ./plugin/json_server/ddl/table.h:2,
                 from plugin/json_server/ddl/table.cc:1:
./drizzled/atomics.h:33:7: error: "SIZEOF_SIZE_T" is not defined [-Werror=undef]
./drizzled/atomics.h:33:24: error: "SIZEOF_LONG_LONG" is not defined [-Werror=undef]
In file included from ./drizzled/cursor.h:27:0,
                 from ./drizzled/table.h:30,
                 from ./drizzled/sql_base.h:24,
                 from ./drizzled/statement.h:26,
                 from ./plugin/json_server/ddl/table.h:2,
                 from plugin/json_server/ddl/table.cc:1:
./drizzled/handler_structs.h:22:5: error: "TIME_WITH_SYS_TIME" is not defined [-Werror=undef]
./drizzled/handler_structs.h:26:6: error: "HAVE_SYS_TIME_H" is not defined [-Werror=undef]
In file included from ./drizzled/order.h:22:0,
                 from ./drizzled/table.h:26,
                 from ./drizzled/sql_base.h:24,
                 from ./drizzled/statement.h:26,
                 from ./plugin/json_server/ddl/table.h:2,
                 from plugin/json_server/ddl/table.cc:1:
./drizzled/field.h:330:46: error: 'UINT32_MAX' was not declared in this scope
In file included from ./drizzled/item/ident.h:22:0,
                 from ./drizzled/item/field.h:22,
                 from ./drizzled/field_iterator.h:26,
                 from ./drizzled/table.h:29,
                 from ./drizzled/sql_base.h:24,
                 from ./drizzled/statement.h:26,
                 from ./plugin/json_server/ddl/table.h:2,
                 from plugin/json_server/ddl/table.cc:1:
./drizzled/item.h: In member function 'uint32_t drizzled::Item::char_to_byte_length_safe(uint32_t, uint32_t)':
./drizzled/item.h:755:19: error: 'UINT32_MAX' was not declared in this scope
In file included from ./drizzled/cursor.h:24:0,
                 from ./drizzled/table.h:30,
                 from ./drizzled/sql_base.h:24,
                 from ./drizzled/statement.h:26,
                 from ./plugin/json_server/ddl/table.h:2,
                 from plugin/json_server/ddl/table.cc:1:
./drizzled/discrete_interval.h: In member function 'void drizzled::Discrete_interval::replace(uint64_t, uint64_t, uint64_t)':
./drizzled/discrete_interval.h:50:30: error: 'UINT64_MAX' was not declared in this scope
./drizzled/discrete_interval.h: In constructor 'drizzled::Discrete_interval::Discrete_interval(uint64_t, uint64_t, uint64_t)':
./drizzled/discrete_interval.h:54:26: error: 'UINT64_MAX' was not declared in this scope
./drizzled/discrete_interval.h: In member function 'bool drizzled::Discrete_interval::merge_if_contiguous(uint64_t, uint64_t, uint64_t)':
./drizzled/discrete_interval.h:73:18: error: 'UINT64_MAX' was not declared in this scope
In file included from ./drizzled/table/instance.h:24:0,
                 from ./drizzled/table.h:32,
                 from ./drizzled/sql_base.h:24,
                 from ./drizzled/statement.h:26,
                 from ./plugin/json_server/ddl/table.h:2,
                 from plugin/json_server/ddl/table.cc:1:

** Affects: drizzle
     Importance: High
         Status: New

** Changed in: drizzle
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/1208736

Title:
  Issue arises with new GCC 4.6

Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
  New

Bug description:
  In file included from ./drizzled/charset.h:31:0,
                   from ./drizzled/session.h:36,
                   from ./plugin/json_server/ddl/table.h:1,
                   from plugin/json_server/ddl/table.cc:1:
  ./drizzled/definitions.h:59:5: error: "SIZEOF_OFF_T" is not defined [-Werror=undef]
  In file included from ./drizzled/session.h:37:0,
                   from ./plugin/json_server/ddl/table.h:1,
                   from plugin/json_server/ddl/table.cc:1:
  ./drizzled/base.h:409:5: error: "SIZEOF_OFF_T" is not defined [-Werror=undef]
  In file included from ./drizzled/session.h:46:0,
                   from ./plugin/json_server/ddl/table.h:1,
                   from plugin/json_server/ddl/table.cc:1:
  ./drizzled/type/time.h:23:5: error: "TIME_WITH_SYS_TIME" is not defined [-Werror=undef]
  ./drizzled/type/time.h:27:6: error: "HAVE_SYS_TIME_H" is not defined [-Werror=undef]
  In file included from ./drizzled/cursor.h:22:0,
                   from ./drizzled/table.h:30,
                   from ./drizzled/sql_base.h:24,
                   from ./drizzled/statement.h:26,
                   from ./plugin/json_server/ddl/table.h:2,
                   from plugin/json_server/ddl/table.cc:1:
  ./drizzled/atomics.h:33:7: error: "SIZEOF_SIZE_T" is not defined [-Werror=undef]
  ./drizzled/atomics.h:33:24: error: "SIZEOF_LONG_LONG" is not defined [-Werror=undef]
  In file included from ./drizzled/cursor.h:27:0,
                   from ./drizzled/table.h:30,
                   from ./drizzled/sql_base.h:24,
                   from ./drizzled/statement.h:26,
                   from ./plugin/json_server/ddl/table.h:2,
                   from plugin/json_server/ddl/table.cc:1:
  ./drizzled/handler_structs.h:22:5: error: "TIME_WITH_SYS_TIME" is not defined [-Werror=undef]
  ./drizzled/handler_structs.h:26:6: error: "HAVE_SYS_TIME_H" is not defined [-Werror=undef]
  In file included from ./drizzled/order.h:22:0,
                   from ./drizzled/table.h:26,
                   from ./drizzled/sql_base.h:24,
                   from ./drizzled/statement.h:26,
                   from ./plugin/json_server/ddl/table.h:2,
                   from plugin/json_server/ddl/table.cc:1:
  ./drizzled/field.h:330:46: error: 'UINT32_MAX' was not declared in this scope
  In file included from ./drizzled/item/ident.h:22:0,
                   from ./drizzled/item/field.h:22,
                   from ./drizzled/field_iterator.h:26,
                   from ./drizzled/table.h:29,
                   from ./drizzled/sql_base.h:24,
                   from ./drizzled/statement.h:26,
                   from ./plugin/json_server/ddl/table.h:2,
                   from plugin/json_server/ddl/table.cc:1:
  ./drizzled/item.h: In member function 'uint32_t drizzled::Item::char_to_byte_length_safe(uint32_t, uint32_t)':
  ./drizzled/item.h:755:19: error: 'UINT32_MAX' was not declared in this scope
  In file included from ./drizzled/cursor.h:24:0,
                   from ./drizzled/table.h:30,
                   from ./drizzled/sql_base.h:24,
                   from ./drizzled/statement.h:26,
                   from ./plugin/json_server/ddl/table.h:2,
                   from plugin/json_server/ddl/table.cc:1:
  ./drizzled/discrete_interval.h: In member function 'void drizzled::Discrete_interval::replace(uint64_t, uint64_t, uint64_t)':
  ./drizzled/discrete_interval.h:50:30: error: 'UINT64_MAX' was not declared in this scope
  ./drizzled/discrete_interval.h: In constructor 'drizzled::Discrete_interval::Discrete_interval(uint64_t, uint64_t, uint64_t)':
  ./drizzled/discrete_interval.h:54:26: error: 'UINT64_MAX' was not declared in this scope
  ./drizzled/discrete_interval.h: In member function 'bool drizzled::Discrete_interval::merge_if_contiguous(uint64_t, uint64_t, uint64_t)':
  ./drizzled/discrete_interval.h:73:18: error: 'UINT64_MAX' was not declared in this scope
  In file included from ./drizzled/table/instance.h:24:0,
                   from ./drizzled/table.h:32,
                   from ./drizzled/sql_base.h:24,
                   from ./drizzled/statement.h:26,
                   from ./plugin/json_server/ddl/table.h:2,
                   from plugin/json_server/ddl/table.cc:1:

To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/1208736/+subscriptions


Follow ups

References