Bug 3348
| Summary: | 10.3.9 Build Failure: Missing 10.4 Method -setCompositingOperation for WebImageRenderer | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Christopher Schmidt <crschmidt> |
| Component: | Layout and Rendering | Assignee: | Dave Hyatt <hyatt> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 412 | ||
| Hardware: | Mac | ||
| OS: | OS X 10.3 | ||
| Bug Depends on: | |||
| Bug Blocks: | 3354 | ||
Christopher Schmidt
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRenderer.m: In function `-
[WebInternalImage _PDFDrawFromRect:toRect:operation:alpha:flipped:]':
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRenderer.m:956: warning:
`NSGraphicsContext' may not respond to `-setCompositingOperation:'
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRenderer.m:956: warning: cannot
find method `-setCompositingOperation:'; return type `id' assumed
(void)setCompositingOperation:(NSCompositingOperation)operation;
(NSCompositingOperation)compositingOperation;
Function is new in 10.4.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Christopher Schmidt
Compiling without -Werror does allow the build to continue.
Christopher Schmidt
Similar output from WebImageRenderFactory:
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m: In function
`-[WebImageRendererFactory CGCompositeOperationInContext:]':
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m:168: warning:
`NSGraphicsContext' may not respond to `+graphicsContextWithGraphicsPort:flipped:'
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m:168: warning:
cannot find method `+graphicsContextWithGraphicsPort:flipped:'; return type `id' assumed
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m:168: warning:
cannot find method `-compositingOperation'; return type `id' assumed
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m:168: warning:
return makes integer from pointer without a cast
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m: In function
`-[WebImageRendererFactory setCGCompositeOperation:inContext:]':
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m:173: warning:
`NSGraphicsContext' may not respond to `+graphicsContextWithGraphicsPort:flipped:'
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m:173: warning:
cannot find method `+graphicsContextWithGraphicsPort:flipped:'; return type `id' assumed
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m:173: warning:
cannot find method `-setCompositingOperation:'; return type `id' assumed
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m: In function
`-[WebImageRendererFactory setCGCompositeOperationFromString:inContext:]':
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m:191: warning:
`NSGraphicsContext' may not respond to `+graphicsContextWithGraphicsPort:flipped:'
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m:191: warning:
cannot find method `+graphicsContextWithGraphicsPort:flipped:'; return type `id' assumed
/Users/crschmidt/webkit/WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m:191: warning:
cannot find method `-setCompositingOperation:'; return type `id' assumed
Koen van der Drift
Removing -Werror from the build line in the Terminal does not work for me. I get the same error for the
missing setCompositingOperation method.
Joost de Valk (AlthA)
We won't support building under 10.3.9 ever again. Sorry. Closing as WONTFIX.