HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Bug #886331
gcc10 -O3 stdinhand.c warning
0%
Description
gcc10 with -O3:
../../../src/server/stdinhand.c: In function ‘cmdlevel_command’:
../../../src/server/stdinhand.c:1418:7: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
1418 | cmd_reply(CMD_CMDLEVEL, caller, C_COMMENT, "cmdlevel %s %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1419 | cmdlevel_name(conn_get_access(pconn)), pconn->username);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
History
#1
Updated by Marko Lindqvist 5 months ago
- File 0010-Fix-stdinhand.c-compiler-warning-with-gcc-10-and-O3.patch 0010-Fix-stdinhand.c-compiler-warning-with-gcc-10-and-O3.patch added
- Status changed from In Progress to Resolved
#2
Updated by Marko Lindqvist 4 months ago
- File 0002-Fix-stdinhand.c-compiler-warning-with-gcc-10-and-O3.patch 0002-Fix-stdinhand.c-compiler-warning-with-gcc-10-and-O3.patch added
New S2_6 version without new assert. We should not take the risk of it starting to fail in a mature branch.
#3
Updated by Marko Lindqvist 4 months ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist