Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
-
None
-
Osx clang
-
10.1.23
Description
https://s3.amazonaws.com/archive.travis-ci.org/jobs/220849959/log.txt
In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/btr/btr0btr.cc:41:
|
|
In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/lock0lock.h:1112:
|
|
In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/lock0lock.ic:29:
|
|
In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/row0row.h:390:
|
|
In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/row0row.ic:28:
|
|
In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/trx0undo.h:34:
|
|
In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/trx0sys.h:40:
|
|
[1m/Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/read0types.h:220:4: [0m[0;1;35mwarning: [0m[1mformat specifies type 'unsigned long' but the argument has type 'trx_id_t' (aka 'unsigned long long') [-Wformat][0m
|
|
m_low_limit_id, m_up_limit_id);
|
|
[0;1;32m ^~~~~~~~~~~~~~
|
|
[0m[1m/Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/read0types.h:220:20: [0m[0;1;35mwarning: [0m[1mformat specifies type 'unsigned long' but the argument has type 'trx_id_t' (aka 'unsigned long long') [-Wformat][0m
|
|
m_low_limit_id, m_up_limit_id);
|
|
[0;1;32m ^~~~~~~~~~~~~
|
,
|
Attachments
Issue Links
- relates to
-
MDEV-12534 Use atomic operations whenever available
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | Compiling [ 11001 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Assignee | Marko Mäkelä [ marko ] |
Description |
https://s3.amazonaws.com/archive.travis-ci.org/jobs/220849959/log.txt
{noformat}[0mIn file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/btr/btr0btr.cc:41: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/lock0lock.h:1112: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/lock0lock.ic:29: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/row0row.h:390: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/row0row.ic:28: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/trx0undo.h:34: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/trx0sys.h:40: [1m/Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/read0types.h:220:4: [0m[0;1;35mwarning: [0m[1mformat specifies type 'unsigned long' but the argument has type 'trx_id_t' (aka 'unsigned long long') [-Wformat][0m m_low_limit_id, m_up_limit_id); [0;1;32m ^~~~~~~~~~~~~~ [0m[1m/Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/read0types.h:220:20: [0m[0;1;35mwarning: [0m[1mformat specifies type 'unsigned long' but the argument has type 'trx_id_t' (aka 'unsigned long long') [-Wformat][0m m_low_limit_id, m_up_limit_id); [0;1;32m ^~~~~~~~~~~~~ [0m3 warnings generated. ,{noformat} |
https://s3.amazonaws.com/archive.travis-ci.org/jobs/220849959/log.txt
{noformat} In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/btr/btr0btr.cc:41: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/lock0lock.h:1112: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/lock0lock.ic:29: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/row0row.h:390: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/row0row.ic:28: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/trx0undo.h:34: In file included from /Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/trx0sys.h:40: [1m/Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/read0types.h:220:4: [0m[0;1;35mwarning: [0m[1mformat specifies type 'unsigned long' but the argument has type 'trx_id_t' (aka 'unsigned long long') [-Wformat][0m m_low_limit_id, m_up_limit_id); [0;1;32m ^~~~~~~~~~~~~~ [0m[1m/Users/travis/build/grooverdan/mariadb-server/storage/innobase/include/read0types.h:220:20: [0m[0;1;35mwarning: [0m[1mformat specifies type 'unsigned long' but the argument has type 'trx_id_t' (aka 'unsigned long long') [-Wformat][0m m_low_limit_id, m_up_limit_id); [0;1;32m ^~~~~~~~~~~~~ ,{noformat} |
Status | Open [ 1 ] | In Progress [ 3 ] |
Summary | compile warning - wrong size of(trx_id_t) | Remove type mismatch in InnoDB printf-like calls |
Assignee | Marko Mäkelä [ marko ] | Jan Lindström [ jplindst ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Link |
This issue relates to |
Sprint | 10.1.23 [ 154 ] |
Rank | Ranked higher |
Assignee | Jan Lindström [ jplindst ] | Marko Mäkelä [ marko ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
issue.field.resolutiondate | 2017-04-21 15:32:15.0 | 2017-04-21 15:32:15.232 |
Fix Version/s | 10.0.31 [ 22501 ] | |
Fix Version/s | 10.1.23 [ 22503 ] | |
Fix Version/s | 10.2.6 [ 22527 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 80304 ] | MariaDB v4 [ 151947 ] |
Apparently, the problem is an inconsistency between <inttypes.h> and <stdint.h> in the Mac OS X headers, for uint64_t and PRIu64.
I think that we should use long long int as the 64-bit type on Mac OS X.
That said, I am testing a fix for 10.0 that does some further cleanup:
typedef size_t ulint;
#define ULINTPF "%zu"
// adjust all printf format strings to use ULINTPF, and remove many type casts
// make more use of ib_logf()