Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@felixrieseberg
Copy link

If you're anything like me, Apple just updated your Xcode to version 9, which currently doesn't want to build @paulcbetts/spellchecker. The error isn't wrong, either:

  CXX(target) Release/obj.target/spellchecker/src/spellchecker_mac.o
../src/spellchecker_mac.mm:184:13: error: cannot initialize a variable of type 'NSString *' with an rvalue of type 'const NSString *'
  NSString* globalLang = currentGlobalLanguage ? currentGlobalLanguage : autoLangauge;
            ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/spellchecker_mac.mm:185:13: error: cannot initialize a variable of type 'NSString *' with an rvalue of type 'const NSString *'
  NSString* ourLang = this->spellCheckerLanguage ? this->spellCheckerLanguage : autoLangauge;
            ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This PR is tiny and fixes that issue.

@winstliu
Copy link

Looks like this is #81 again, but for a different branch?

@anaisbetts anaisbetts merged commit c7a14a7 into atom:bdict Sep 27, 2017
@felixrieseberg felixrieseberg deleted the patch-1 branch September 27, 2017 20:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants