[Webkit-unassigned] [Bug 16124] New: Add printf format attribute to several functions to fix some GCC warnings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 24 18:38:54 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16124

           Summary: Add printf format attribute to several functions to fix
                    some GCC warnings
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: laszlo.gombos at gmail.com
                CC: laszlo.gombos at gmail.com


GCC has an extension to specify type check for format strings. See
http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#Function-Attributes
for details.

This syntax is already used in PlatformString.h and in DeprecatedString.h in
WebCore.

This fix get rid of the following GCC warning
XMLTokenizer.cpp:881: warning: function might be possible candidate for
‘printf’ format attribute


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list