Project

Profile

Help

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

Added by Marko Lindqvist about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Server
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

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

#2 Updated by Marko Lindqvist about 1 year ago

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 about 1 year ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF