"format not a string literal and no format arguments" errors in main.c
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Awn |
Fix Released
|
Low
|
Mark Lee | ||
Mandriva |
New
|
Undecided
|
Unassigned |
Bug Description
Building 0.2.6 (but I had a quick look and current 0.2 branch doesn't seem to have changed the relevant code), with -Werror=
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -DORBIT2=1 -I/usr/
main.c: In function '_awn_plug_new':
main.c:220: error: format not a string literal and no format arguments
main.c: In function 'launch_python':
main.c:288: warning: format '%lld' expects type 'long long int', but argument 4 has type 'gint64'
main.c:292: error: format not a string literal and no format arguments
these are coding errors and should be fixed, as I understand it. I know how to fix some simple instances of this error, but these don't seem to fit the template, so I'm just reporting it for you guys to fix. Thanks.
Changed in awn: | |
status: | Fix Committed → Fix Released |
Thanks for reporting this. I'll see if I can take a look at this sometime this week.