svg.c:1136:7: error: format not a string literal and no format arguments [-Werror=format-security]
1136 | sprintf(filename, Tcl_GetString(objv[1]));
| ^~~~~~~
svg.c:1139:7: error: format not a string literal and no format arguments [-Werror=format-security]
1139 | sprintf(filename, xobjs.pagelist[areawin->page]->filename);
| ^~~~~~~
svg.c:1141:76: error: format not a string literal and no format arguments [-Werror=format-security]
1141 | sprintf(filename, xobjs.pagelist[areawin->page]->pageinst->thisobject->name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
I tried to fix the problem of not compiling after enabling the -Werror=format-security option.
Note: Updated the repository on opencircuitdesign.com. The github repo will update automatically by mirror copy overnight (in about 15 hours from now).
I tried to fix the problem of not compiling after enabling the -Werror=format-security option.