http://bugs.winehq.org/show_bug.cgi?id=17328
Summary: tools/widl: warning: null format string Product: Wine Version: 1.1.10 Platform: PC OS/Version: FreeBSD Status: NEW Keywords: regression, source Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com CC: julliard@winehq.org
ccache gcc -c -I. -I. -I../../include -I../../include -Wall -pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -I/usr/local/include -Werror -g -o expr.o expr.c cc1: warnings being treated as errors expr.c: In function 'write_expr': expr.c:646: warning: null format string expr.c:652: warning: null format string *** Error code 1
Stop in /usr/home/pcbsd/wine-git/tools/widl. *** Error code 1
Occurs on PC-BSD 7 (probably an issue with BSD make).
Caused by: fcc096083fe9527cd4638f85533e4488a4aef343 is first bad commit commit fcc096083fe9527cd4638f85533e4488a4aef343 Author: Alexandre Julliard julliard@winehq.org Date: Fri Feb 6 14:31:29 2009 +0100
widl: Add printf format attribute on all printf-like functions and fix resulting warnings.
:040000 040000 7117bcdf4ad41e3bc217e883da8704b6493b434a aebe479d352e222b040b337544e9703b49f10eaeM tools
http://bugs.winehq.org/show_bug.cgi?id=17328
Andrey Turkin andrey.turkin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.turkin@gmail.com
--- Comment #1 from Andrey Turkin andrey.turkin@gmail.com 2009-02-10 02:21:10 --- Technically speaking, printf format attribute is incorrect for write_type_decl - that function does not directly pass format string to printf but instead recognize NULL value specifically. However GCC 3.3 and newer do allow NULL format string; GCC 3.2 and earlier - do not. See http://gcc.gnu.org/gcc-3.3/changes.html .
http://bugs.winehq.org/show_bug.cgi?id=17328
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2009-02-10 09:46:35 --- Fixed by 20e4cb98a75271bef1e0cca260782ed907d0af28.
Thanks Alexandre!
http://bugs.winehq.org/show_bug.cgi?id=17328
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2009-02-13 11:11:33 --- Closing bugs fixed in 1.1.15.