cc1plus: warnings being treated as errors
save.c: In function ‘void save_pfile_backup()’:
save.c:2619: error: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
make: *** [o/save.o] Error 1
make: *** [all] Error 2
That line is system ( buf ); but it's no-where else in the code...?
I know I can bypass Werror, but there's an error, so I'mma point it out :D
In file included from /usr/include/stdio.h:910,
In function ‘int snprintf(char*, size_t, const char*, ...)’,
inlined from ‘void save_pfile_backup()’ at save.c:2618:
/usr/include/bits/stdio2.h:66: warning: call to int __builtin___snprintf_chk(char*, unsigned int, int, unsigned int, const char*, ...) will always overflow destination buffer
Oh wow, tried to run the startup script and it gave me an epic buffer overflow.