Fix build warnings in xtrabackup.cc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Alexey Kopytov | ||
2.0 |
Won't Fix
|
Medium
|
Unassigned | ||
2.1 |
Won't Fix
|
Medium
|
Unassigned | ||
2.2 |
Fix Released
|
Medium
|
Alexey Kopytov |
Bug Description
While building xtrabackup from source 21 warnings were met:
~# bzr branch lp:percona-xtrabackup
~# cd percona-xtrabackup
~# ./utils/build.sh xtradb > out 2>&1
~# cat out | grep warning
vi.c:1015: warning: ignoring return value of 'write', declared with attribute warn_unused_result
vi.c:1016: warning: ignoring return value of 'write', declared with attribute warn_unused_result
log/log0recv.
./include/
log/log0recv.
mysqld.cc:4404: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4410: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4417: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4432: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4439: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4448: warning: deprecated conversion from string constant to 'char*'
xtrabackup.c:2701: warning: format '%02u' expects type 'unsigned int', but argument 3 has type 'char *'
xtrabackup.c:2701: warning: too few arguments for format
xtrabackup.c:5447: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
extract.c:114: warning: incompatible implicit declaration of built-in function 'strlen'
extract.c:448: warning: incompatible implicit declaration of built-in function 'strlen'
util.c:154: warning: field width should have type 'int', but argument 4 has type 'size_t'
util.c:154: warning: field width should have type 'int', but argument 4 has type 'size_t'
util.c:177: warning: field width should have type 'int', but argument 4 has type 'size_t'
util.c:177: warning: field width should have type 'int', but argument 4 has type 'size_t'
libtar.c:271: warning: incompatible implicit declaration of built-in function 'exit'
description: | updated |
Changed in percona-xtrabackup: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
assignee: | nobody → Vadim Tkachenko (vadim-tk) |
Changed in percona-xtrabackup: | |
status: | Confirmed → Triaged |
assignee: | Vadim Tkachenko (vadim-tk) → nobody |
Marking as Fix Released as we're not seeing any of this in current Jenkins builds.