fprintf format compile time error at src/segment.c:247:25
Status: Alpha
Brought to you by:
runemaster
The following compile time error is coming up if -Werror=format-security is enabled when building:
./segment.c:247:25: error: format not a string literal and no format arguments [-Werror=format-security]
cc1plus: some warnings being treated as errors
One way to resolve this error is to make the following change in src/segment.c:
~~~~
--- nlmake-1.13.1.2+030617.orig/src/segment.c
+++ nlmake-1.13.1.2+030617/src/segment.c
@@ -244,7 +244,7 @@ process_segment (void)
headeroffset = strlen (str) - 1;
~~~