#3802: grass77: g.proj compilation fails with proj 5.2.0
---------------------+-------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.0
Component: Default | Version: svn-trunk
Keywords: g.proj | CPU: Unspecified
Platform: Linux |
---------------------+-------------------------
{{{
list_codes.c: In function ‘list_codes’:
list_codes.c:109:23: error: format not a string literal and no format
arguments [-Werror=format-security]
sprintf(pathname, init_info.filename);
^~~~~~~~~
list_codes.c:166:20: error: format not a string literal and no format
arguments [-Werror=format-security]
sprintf(name, buf + 2);
^~~
list_codes.c:195:7: error: format not a string literal and no format
arguments [-Werror=format-security]
sprintf(code, buf + bufstart);
^~~~~~~
list_codes.c:206:7: error: format not a string literal and no format
arguments [-Werror=format-security]
sprintf(name, buf + bufstart);
^~~~~~~
cc1: some warnings being treated as errors
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3802>
GRASS GIS <https://grass.osgeo.org>