Build fail with -Werror=format-security
Bug #868117 reported by
Nobuhiro Iwamatsu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iSight Firmware Tools |
New
|
Undecided
|
Unassigned |
Bug Description
Build fail with -Werror=
-----
export.c: In function ‘write_line’:
export.c:94:3: warning: format ‘%i’ expects argument of type ‘int’, but argument 6 has type ‘size_t’ [-Wformat]
export.c: In function ‘export’:
export.c:125:25: warning: variable ‘ret’ set but not used [-Wunused-
export.c: In function ‘main’:
export.c:206:10: error: format not a string literal and no format arguments [-Werror=
export.c: In function ‘export’:
export.c:168:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
cc1: some warnings being treated as errors
-----
To post a comment you must log in.