Details
Description
Gcc 16 could not compile without warning our sources.
In same cases we really can try to change constant strings.
Errors like:
/home/sanja/maria/git/10.6/dbug/dbug.c:2161:14: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
|
2161 | lastslash= strrchr(pathname, '/');
|
| ^
|
cc1: all warnings being treated as errors
|
Starting from 11.4:
/home/sanja/maria/git/12.3/include/mysql/service_encryption.h:124:3: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
|
124 | assert((dst[*dlen - 1]= 1));
|
| ^~~~~~
|
Attachments
Issue Links
- causes
-
MDEV-39389 Memory leaks in _db_set_init
-
- Closed
-