Bug 57757

Summary: Build failure Mac OS 10.7 WebEditorClient.mm
Product: WebKit Reporter: Alexander Zautke <alexander.zautke>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.6   

Description Alexander Zautke 2011-04-04 08:23:42 PDT
I used revision 82828 to build WebKit on Lion with Xcode 4.1 (4B33a)

Build failure:

In file included from WebEditorClient.h:30,
                 from WebEditorClient.mm:30:
WebKit/Source/WebKit/mac/WebCoreSupport/CorrectionPanel.h:30:33: error: AppKit/NSTextChecker.h: No such file or directory
In file included from WebKit/Source/WebKit/mac/WebCoreSupport/WebEditorClient.h:30,
                 from WebKit/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm:30:
WebKit/Source/WebKit/mac/WebCoreSupport/CorrectionPanel.h:49: error: ‘NSCorrectionBubbleType’ has not been declared
WebKit/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm:81: error: ‘NSCorrectionBubbleType’ does not name a type
cc1objplus: warnings being treated as errors
WebKit/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm: In member function ‘virtual void WebEditorClient::getGuessesForWord(const WTF::String&, const WTF::String&, WTF::Vector<WTF::String, 0ul>&)’:
WebKit/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm:939: warning: ‘NSSpellChecker’ may not respond to ‘-languageForWordRange:inString:orthography:’
WebKit/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm:939: warning: (Messages without a matching method signature
WebKit/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm:939: warning: will be assumed to return ‘id’ and accept
WebKit/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm:939: warning: ‘...’ as arguments.)
WebKit/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm:939: warning: cannot pass objects of non-POD type ‘const class WTF::String’ through ‘...’; call will abort at runtime


The following build commands failed:
	CompileC WebKit/WebKitBuild/WebKit.build/Release/WebKit.build/Objects-normal/x86_64/WebEditorClient.o mac/WebCoreSupport/WebEditorClient.mm normal x86_64 objective-c++ com.apple.compilers.llvmgcc42
(1 failure)
Comment 1 Alexey Proskuryakov 2011-04-04 12:23:31 PDT
Mac OS X is under an non-disclosure agreement, it can not be discussed in any public forums.