[Webkit-unassigned] [Bug 20046] New: compile mismatch Cg/Cairo files (SVN 35180)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 15 15:25:32 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20046
Summary: compile mismatch Cg/Cairo files (SVN 35180)
Product: WebKit
Version: 526+ (Nightly build)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: samuele_catuzzi at yahoo.it
in order to compile --cairo-win32 I modified config.h as this:
#if PLATFORM(WIN)
#define WTF_USE_JAVASCRIPTCORE_BINDINGS 1
#undef WTF_PLATFORM_CG
#define WTF_PLATFORM_CAIRO 1
#define WTF_USE_CFNETWORK 1
#undef WTF_USE_WININET
#define WTF_PLATFORM_CF 1
#define WTF_USE_PTHREADS 0
#endif
from WebCore compilation I receive several errors from
"WebCore/Release/BuildLog.htm" that start with:
---snip----
SVGResourceMaskerCg.cpp
SVGResourceFilterCg.cpp
SVGResourceClipperCg.cpp
..\svg\graphics\cg\SVGResourceClipperCg.cpp(40) : error C2440: 'initializing' :
cannot convert from 'PlatformGraphicsContext *' to 'CGContextRef'
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
---snip----
I found that WebCore.vcproj around line 15692 has this dependency:
<File RelativePath="..\svg\graphics\cg\SVGResourceClipperCg.cpp" >
<FileConfiguration Name="Debug_Cairo|Win32" ExcludedFromBuild="true" >
<Tool Name="VCCLCompilerTool" />
</FileConfiguration>
<FileConfiguration Name="Release_Cairo|Win32" ExcludedFromBuild="true" >
<Tool Name="VCCLCompilerTool" />
</FileConfiguration>
</File>
but Cairo files are located in "..\svg\graphics\cairo\" directory and correct
SVGResourceClipper file name should be "SVGResourceClipperCairo.cpp" thus:
<File RelativePath="..\svg\graphics\cairo\SVGResourceClipperCairo.cpp" >
this error appear replicated on my "WebCore/Release/BuildLog.htm" for every
file located into "..\svg\graphics\cg\" directory.
good work!
--
Configure bugmail: https://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