[Webkit-unassigned] [Bug 104978] Fix build warning
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 13 18:51:39 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=104978
KyungTae Kim <ktf.kim at samsung.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktf.kim at samsung.com
--- Comment #9 from KyungTae Kim <ktf.kim at samsung.com> 2012-12-13 18:54:00 PST ---
The build error is because of the order of the initialization list.
Please put the initialization of m_downloadID below the initialization of m_downloadManager same with the header.
Source/WebKit2/WebProcess/Downloads/Download.cpp: In constructor ‘WebKit::Download::Download(WebKit::DownloadManager&, uint64_t, const WebCore::ResourceRequest&)’:
Source/WebKit2/WebProcess/Downloads/Download.cpp:49:5: error: expected identifier before ‘,’ token
Source/WebKit2/WebProcess/Downloads/Download.h:128:14: error: ‘WebKit::Download::m_downloadID’ will be initialized after [-Werror=reorder]
Source/WebKit2/WebProcess/Downloads/Download.h:127:22: error: ‘WebKit::DownloadManager& WebKit::Download::m_downloadManager’ [-Werror=reorder]
Source/WebKit2/WebProcess/Downloads/Download.cpp:47:1: error: when initialized here [-Werror=reorder]
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list