[Bug 16339] New: setupapi/tests: format not a string literal and no format arguments

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 4 20:02:56 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=16339

           Summary: setupapi/tests: format not a string literal and no
                    format arguments
           Product: Wine
           Version: 1.1.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: download, patch, source
          Severity: minor
          Priority: P2
         Component: build-env
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: austinenglish at gmail.com


Created an attachment (id=17644)
 --> (http://bugs.winehq.org/attachment.cgi?id=17644)
patch

gcc -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall
-pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wtype-limits -Wpointer-arith  -Werror  -o devinst.o devinst.c
cc1: warnings being treated as errors
devinst.c: In function ‘append_str’:
devinst.c:325: error: format not a string literal and no format arguments
make[2]: *** [devinst.o] Error 1
make[2]: Leaving directory `/home/austin/wine-git/dlls/setupapi/tests'
make[1]: *** [setupapi/tests] Error 2
make[1]: Leaving directory `/home/austin/wine-git/dlls'
make: *** [dlls] Error 2

gcc -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall
-pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wtype-limits -Wpointer-arith  -Werror  -o misc.o misc.c
cc1: warnings being treated as errors
misc.c: In function ‘append_str’:
misc.c:52: error: format not a string literal and no format arguments
make: *** [misc.o] Error 1

gcc -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall
-pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wtype-limits -Wpointer-arith  -Werror  -o query.o query.c
cc1: warnings being treated as errors
query.c: In function ‘append_str’:
query.c:48: error: format not a string literal and no format arguments
make: *** [query.o] Error 1


Attached patch fixes the issue, but may not be a proper fix.

Only occurs on gcc 4.3+


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list