Bug 37916

Summary: [Qt] Build has a zillion warnings
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: Tools / TestsAssignee: QtWebKit Unassigned <webkit-qt-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: kenneth, laszlo.gombos, luiz, ossy, tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Bug Depends on: 20721, 38045    
Bug Blocks: 43191    

Description Eric Seidel (no email) 2010-04-21 03:28:57 PDT
Qt Build has a zillion warnings

We should probably either fix them or silence them:
http://build.webkit.org/builders/Qt%20Windows%2032-bit%20Debug/builds/313/steps/compile-webkit/logs/warnings
Comment 1 Antonio Gomes 2010-04-21 14:51:43 PDT
I think you need to correct OS/Version field?

is does not look like "Mac OS X 10.5" , but win-something
Comment 2 Laszlo Gombos 2010-04-21 20:16:54 PDT
Copy the log of warnings here before the bot deletes it..

..\..\..\WebCore\loader\FTPDirectoryParser.cpp:191: warning: unknown conversion type character 'l' in format
..\..\..\WebCore\loader\FTPDirectoryParser.cpp:191: warning: too many arguments for format
..\..\..\WebCore\page\EventHandler.cpp:1227: warning: suggest parentheses around '&&' within '||'
..\..\..\WebCore\platform\UUID.cpp:55: warning: missing initializer for member '_GUID::Data2'
..\..\..\WebCore\platform\UUID.cpp:55: warning: missing initializer for member '_GUID::Data3'
..\..\..\WebCore\platform\UUID.cpp:55: warning: missing initializer for member '_GUID::Data4'
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:37:1: warning: "VK_BACK" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1858:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:38:1: warning: "VK_TAB" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1859:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:39:1: warning: "VK_CLEAR" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1860:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:40:1: warning: "VK_RETURN" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1861:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:41:1: warning: "VK_SHIFT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1862:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:42:1: warning: "VK_CONTROL" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1863:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:43:1: warning: "VK_MENU" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1864:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:44:1: warning: "VK_PAUSE" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1865:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:45:1: warning: "VK_CAPITAL" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1866:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:57:1: warning: "VK_SPACE" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1879:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:58:1: warning: "VK_PRIOR" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1880:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:59:1: warning: "VK_NEXT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1881:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:60:1: warning: "VK_END" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1882:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:61:1: warning: "VK_HOME" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1883:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:62:1: warning: "VK_LEFT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1884:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:63:1: warning: "VK_UP" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1885:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:64:1: warning: "VK_RIGHT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1886:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:65:1: warning: "VK_DOWN" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1887:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:66:1: warning: "VK_SELECT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1888:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:67:1: warning: "VK_PRINT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1889:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:68:1: warning: "VK_EXECUTE" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1890:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:69:1: warning: "VK_SNAPSHOT" redefined
2\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1891:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:70:1: warning: "VK_INSERT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1892:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:71:1: warning: "VK_DELETE" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1893:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:72:1: warning: "VK_HELP" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1894:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:37:1: warning: "VK_BACK" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1858:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:38:1: warning: "VK_TAB" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1859:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:39:1: warning: "VK_CLEAR" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1860:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:40:1: warning: "VK_RETURN" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1861:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:41:1: warning: "VK_SHIFT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1862:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:42:1: warning: "VK_CONTROL" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1863:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:43:1: warning: "VK_MENU" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1864:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:44:1: warning: "VK_PAUSE" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1865:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:45:1: warning: "VK_CAPITAL" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1866:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:57:1: warning: "VK_SPACE" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1879:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:58:1: warning: "VK_PRIOR" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1880:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:59:1: warning: "VK_NEXT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1881:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:60:1: warning: "VK_END" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1882:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:61:1: warning: "VK_HOME" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1883:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:62:1: warning: "VK_LEFT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1884:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:63:1: warning: "VK_UP" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1885:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:64:1: warning: "VK_RIGHT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1886:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:65:1: warning: "VK_DOWN" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1887:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:66:1: warning: "VK_SELECT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1888:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:67:1: warning: "VK_PRINT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1889:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:68:1: warning: "VK_EXECUTE" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1890:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:69:1: warning: "VK_SNAPSHOT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1891:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:70:1: warning: "VK_INSERT" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1892:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:71:1: warning: "VK_DELETE" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1893:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:72:1: warning: "VK_HELP" redefined
c:\qt\2010.02\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winuser.h:1894:1: warning: this is the location of the previous definition
..\..\..\WebCore\platform\win\SystemTimeWin.cpp:41: warning: missing initializer for member 'tagLASTINPUTINFO::dwTime'
..\..\..\WebCore\plugins\win\PluginPackageWin.cpp:184: warning: deprecated conversion from string constant to 'WCHAR*'
..\..\..\WebCore\plugins\win\/PluginMessageThrottlerWin.h:62: warning: 'WebCore::PluginMessageThrottlerWin::m_front' will be initialized after
..\..\..\WebCore\plugins\win\/PluginMessageThrottlerWin.h:60: warning:   'WebCore::PluginView* WebCore::PluginMessageThrottlerWin::m_pluginView'
..\..\..\WebCore\plugins\win\PluginMessageThrottlerWin.cpp:47: warning:   when initialized here
..\..\..\WebCore\plugins\win\/PluginMessageThrottlerWin.h:69: warning: 'WebCore::PluginMessageThrottlerWin::m_lastMessageTime' will be initialized after
..\..\..\WebCore\plugins\win\/PluginMessageThrottlerWin.h:68: warning:   'WebCore::Timer<WebCore::PluginMessageThrottlerWin> WebCore::PluginMessageThrottlerWin::m_messageThrottleTimer'
..\..\..\WebCore\plugins\win\PluginMessageThrottlerWin.cpp:47: warning:   when initialized here
..\..\..\WebCore\platform\win\/WebCoreInstanceHandle.h:36: warning: 'void WebCore::setInstanceHandle(HINSTANCE__*)' defined but not used
..\..\..\WebCore\platform\win\/WebCoreInstanceHandle.h:37: warning: 'HINSTANCE__* WebCore::instanceHandle()' defined but not used
..\..\..\WebCore\plugins\win\PluginViewWin.cpp:527: warning: missing initializer for member '_WINDOWPOS::hwndInsertAfter'
..\..\..\WebCore\plugins\win\PluginViewWin.cpp:527: warning: missing initializer for member '_WINDOWPOS::x'
..\..\..\WebCore\plugins\win\PluginViewWin.cpp:527: warning: missing initializer for member '_WINDOWPOS::y'
..\..\..\WebCore\plugins\win\PluginViewWin.cpp:527: warning: missing initializer for member '_WINDOWPOS::cx'
..\..\..\WebCore\plugins\win\PluginViewWin.cpp:527: warning: missing initializer for member '_WINDOWPOS::cy'
..\..\..\WebCore\plugins\win\PluginViewWin.cpp:527: warning: missing initializer for member '_WINDOWPOS::flags'
..\..\..\WebCore\platform\sql\SQLiteDatabase.cpp:131: warning: unknown conversion type character 'l' in format
..\..\..\WebCore\platform\sql\SQLiteDatabase.cpp:131: warning: too many arguments for format
..\..\..\WebCore\platform\sql\SQLiteFileSystem.cpp:76: warning: unknown conversion type character 'l' in format
..\..\..\WebCore\platform\sql\SQLiteFileSystem.cpp:76: warning: too many arguments for format
..\..\..\WebCore\platform\sql\SQLiteFileSystem.cpp:79: warning: unknown conversion type character 'l' in format
..\..\..\WebCore\platform\sql\SQLiteFileSystem.cpp:79: warning: too many arguments for format
..\..\..\WebCore\storage\DatabaseTracker.cpp:642: warning: unknown conversion type character 'l' in format
..\..\..\WebCore\storage\DatabaseTracker.cpp:642: warning: format '%s' expects type 'char*', but argument 5 has type 'long long unsigned int'
..\..\..\WebCore\storage\DatabaseTracker.cpp:642: warning: too many arguments for format
..\..\..\WebCore\loader\icon\IconDatabase.cpp:1313: warning: unknown conversion type character 'z' in format
..\..\..\WebCore\loader\icon\IconDatabase.cpp:1313: warning: too many arguments for format
..\..\..\WebCore\loader\icon\IconDatabase.cpp:1637: warning: unknown conversion type character 'l' in format
..\..\..\WebCore\loader\icon\IconDatabase.cpp:1637: warning: too many arguments for format
..\..\..\WebCore\loader\icon\IconDatabase.cpp:1641: warning: unknown conversion type character 'l' in format
..\..\..\WebCore\loader\icon\IconDatabase.cpp:1641: warning: too many arguments for format
..\..\..\WebCore\svg\SVGAnimateElement.cpp:181: warning: suggest parentheses around '&&' within '||'
..\..\..\WebCore\platform\graphics\qt\MediaPlayerPrivatePhonon.cpp:536: warning: unknown conversion type character 'l' in format
..\..\..\WebCore\platform\graphics\qt\MediaPlayerPrivatePhonon.cpp:536: warning: too many arguments for format
Comment 3 Csaba Osztrogonác 2010-08-02 10:05:29 PDT
https://bugs.webkit.org/show_bug.cgi?id=43191 is a master bug to fix all warnings on Qt bot and treat warnings as errors by default for gcc.

The master bug contains all related bugs on its depend list.

*** This bug has been marked as a duplicate of bug 43191 ***