New compilation warnings with GCC 6 (-Wshift-negative-value, -Wdeprecated-declarations, -Wnonnull-compare, -Wc+11-compat, -Wmisleading-indentation)
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Fix Released
|
High
|
Laurynas Biveinis | |||
5.6 |
Fix Released
|
High
|
Laurynas Biveinis | |||
5.7 |
Fix Released
|
High
|
Laurynas Biveinis | |||
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
2.3 |
Fix Released
|
High
|
Sergei Glushchenko | |||
2.4 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
On 5.5 trunk:
[ 7%] Building C object extra/CMakeFile
/mnt/workspace/
/mnt/workspace/
((~(~0 << (DICT_TF_BITS - DICT_TF_
^
/mnt/workspace/
ulint format = flags & DICT_TF_FORMAT_MASK >> DICT_TF_
cc1: all warnings being treated as errors
extra/CMakeFile
make[2]: *** [extra/
make[2]: Target 'extra/
CMakeFiles/
make[1]: *** [extra/
/mnt/workspace/ percona- server- 5.5-trunk/ BUILD_TYPE/ debug/Host/ ubuntu- yakkety- 64bit/mysys/ my_lib. c: In function ‘my_dir’: percona- server- 5.5-trunk/ BUILD_TYPE/ debug/Host/ ubuntu- yakkety- 64bit/mysys/ my_lib. c:140:3: error: ‘readdir_r’ is deprecated [-Werror= deprecated- declarations] dirp,(struct dirent*) dirent_tmp,dp))) features. h:364:0,
from /usr/include/ pthread. h:21,
from /mnt/workspace/ percona- server- 5.5-trunk/ BUILD_TYPE/ debug/Host/ ubuntu- yakkety- 64bit/include/ my_global. h:274,
from /mnt/workspace/ percona- server- 5.5-trunk/ BUILD_TYPE/ debug/Host/ ubuntu- yakkety- 64bit/mysys/ mysys_priv. h:16,
from /mnt/workspace/ percona- server- 5.5-trunk/ BUILD_TYPE/ debug/Host/ ubuntu- yakkety- 64bit/mysys/ my_lib. c:19: dirent. h:189:12: note: declared here
/mnt/workspace/
while (!(READDIR(
^~~~~
In file included from /usr/include/
/usr/include/
extern int __REDIRECT (readdir_r,
^