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...
S2_5 mapimg_generate_name() compiler warning with gcc9
../../../src/common/mapimg.c: In function ‘mapimg_generate_name’:
../../../src/common/mapimg.c:1765:7: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
1765 | cat_snprintf(mapstr, sizeof(mapstr), "%s", mapimg_layer_name(layer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This only started happening now in both Debian Bullseye and Sid after some system update. It also happens only with S2_5 though the code in question seem identical in later branches.
#1 Updated by Marko Lindqvist about 2 years ago
- File 0001-Fix-gcc9-warning-in-mapimg_generate_name.patch 0001-Fix-gcc9-warning-in-mapimg_generate_name.patch added
- Status changed from New to Resolved
Fix attached, going to push to all branches