Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build on Windows #37

Closed
archseer opened this issue Jun 5, 2021 · 2 comments
Closed

Fails to build on Windows #37

archseer opened this issue Jun 5, 2021 · 2 comments

Comments

@archseer
Copy link

archseer commented Jun 5, 2021

Hi, we've imported the grammar into helix, now that #27 was addressed! A bug report was just opened (helix-editor/helix#117) regarding building the grammar on Windows, it seems that there's some errors with scanner.cc:

  languages\tree-sitter-haskell\src\scanner.cc(1555): error C3861: 'to_string': identifier not found
  languages\tree-sitter-haskell\src\scanner.cc(1556): error C3861: 'to_string': identifier not found
  languages\tree-sitter-haskell\src\scanner.cc(1557): error C3536: 'col': cannot be used before it is initialized
  languages\tree-sitter-haskell\src\scanner.cc(1557): error C2676: binary '+': 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' does not define this operator or a conversion to a type acceptable to the predefined operator
  languages\tree-sitter-haskell\src\scanner.cc(1557): error C2672: 'operator __surrogate_func': no matching overloaded function found
  exit code: 2
@archseer
Copy link
Author

archseer commented Jun 5, 2021

I think this is possibly because we build the grammars with default settings that might not be C++14. I'll update our build setup.

@archseer
Copy link
Author

archseer commented Jun 5, 2021

Closing as duplicate of #34

@archseer archseer closed this as completed Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant