[Webkit-unassigned] [Bug 146904] [GTK] Build error with -DENABLE_SPELLCHECK=OFF

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 22 10:20:42 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146904

Carlos Alberto Lopez Perez <clopez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cgarcia at igalia.com,
                   |                            |clopez at igalia.com,
                   |                            |mario at webkit.org,
                   |                            |mrobinson at webkit.org
            Summary|[GTK] it can not built when |[GTK] Build error with
                   |-DENABLE_SPELLCHECK=OFF     |-DENABLE_SPELLCHECK=OFF

--- Comment #1 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
I ACK this bug. When building WebKitGTK+ with -DENABLE_SPELLCHECK=OFF it fails to build with:


../../Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp:43:17: error: no type named 'TextCheckerEnchant' in namespace 'WebCore'; did you mean 'TextCheckerClient'?
static WebCore::TextCheckerEnchant& enchantTextChecker()
       ~~~~~~~~~^~~~~~~~~~~~~~~~~~
                TextCheckerClient
../../Source/WebCore/page/EditorClient.h:63:7: note: 'TextCheckerClient' declared here
class TextCheckerClient;
      ^
../../Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp:45:36: error: no member named 'TextCheckerEnchant' in namespace 'WebCore'
    static NeverDestroyed<WebCore::TextCheckerEnchant> checker;
                          ~~~~~~~~~^
../../Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp:116:79: error: cannot initialize a parameter of type 'int *' with an lvalue of type 'int32_t' (aka 'int')
    enchantTextChecker().checkSpellingOfString(text.toStringWithoutCopying(), misspellingLocation, misspellingLength);
                                                                              ^~~~~~~~~~~~~~~~~~~
../../Source/WebCore/platform/text/TextCheckerClient.h:47:57: note: passing argument to parameter 'misspellingLocation' here
    virtual void checkSpellingOfString(StringView, int* misspellingLocation, int* misspellingLength) = 0;
                                                        ^
../../Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp:142:58: error: too few arguments to function call, expected 3, have 1
    guesses = enchantTextChecker().getGuessesForWord(word);
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     ^
../../Source/WebCore/platform/text/TextCheckerClient.h:58:5: note: 'getGuessesForWord' declared here
    virtual void getGuessesForWord(const String& word, const String& context, Vector<String>& guesses) = 0;
    ^
../../Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp:152:26: error: no member named 'ignoreWord' in 'WebCore::TextCheckerClient'
    enchantTextChecker().ignoreWord(word);
    ~~~~~~~~~~~~~~~~~~~~ ^
../../Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp:233:26: error: no member named 'updateSpellCheckingLanguages' in 'WebCore::TextCheckerClient'
    enchantTextChecker().updateSpellCheckingLanguages(languages);
    ~~~~~~~~~~~~~~~~~~~~ ^
../../Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp:238:33: error: no member named 'loadedSpellCheckingLanguages' in 'WebCore::TextCheckerClient'
    return enchantTextChecker().loadedSpellCheckingLanguages();
           ~~~~~~~~~~~~~~~~~~~~ ^

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150922/47b14315/attachment-0001.html>


More information about the webkit-unassigned mailing list