Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.5.15
-
None
-
aix, gcc-10
Description
compile warnings gcc-10 |
[ 71%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/srv/srv0start.cc.o
|
In file included from /home/mdborg/mariadb-server-10.5/storage/innobase/include/data0type.h:30,
|
from /home/mdborg/mariadb-server-10.5/storage/innobase/include/data0data.h:31,
|
from /home/mdborg/mariadb-server-10.5/storage/innobase/include/row0ftsort.h:30,
|
from /home/mdborg/mariadb-server-10.5/storage/innobase/srv/srv0start.cc:48:
|
/home/mdborg/mariadb-server-10.5/storage/innobase/include/fts0priv.inl: In function 'ulint fts_read_object_id(ib_id_t*, const char*)':
|
/home/mdborg/mariadb-server-10.5/storage/innobase/include/univ.i:418:24: warning: format '%llx' expects argument of type 'long long unsigned int*', but argument 3 has type 'ib_id_t*' {aka 'long unsigned int*'} [-Wformat=]
|
418 | # define UINT64PFx "%016llx"
|
| ^~~~~~~~~
|
/home/mdborg/mariadb-server-10.5/storage/innobase/include/fts0priv.inl:76:21: note: in expansion of macro 'UINT64PFx'
|
76 | return(sscanf(str, UINT64PFx, id) == 1);
|
| ^~~~~~~~~
|
/home/mdborg/mariadb-server-10.5/storage/innobase/include/univ.i:418:31: note: format string is defined here
|
418 | # define UINT64PFx "%016llx"
|
| ~~~~~~^
|
| |
|
| long long unsigned int*
|
| %016lx
|