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

Failure to build on MacOS 10.15 due to a missing include of unordered_map. #1034

Closed
vyomfadia opened this issue Oct 1, 2020 · 1 comment
Closed
Assignees
Labels
Bug.Derp They don't call me The Phantom Derpstorm for no reason.
Milestone

Comments

@vyomfadia
Copy link

When using Azure Pipelines to build Sol on MacOS 10.15 using AppleClang 11.0.3.11030032, we're experiencing a build error along the lines of:

In file included from /Users/runner/work/1/s/Phoenix/ThirdParty/sol2/include/sol/usertype.hpp:29:
/Users/runner/work/1/s/Phoenix/ThirdParty/sol2/include/sol/usertype_storage.hpp:288:8: error: no template named 'unordered_map' in namespace 'std'
                std::unordered_map<string_view, index_call_storage> string_keys;
                ~~~~~^
/Users/runner/work/1/s/Phoenix/ThirdParty/sol2/include/sol/usertype_storage.hpp:289:8: error: no template named 'unordered_map' in namespace 'std'
                std::unordered_map<reference, reference, reference_hash, reference_equals> auxiliary_keys;
                ~~~~~^

It looks like it's relying on an implicit import from another file, and probably didn't work on Mac 🙄.

Full Build Log -> https://pastebin.com/bzUh0XE3

Thanks in advance if this gets fixed! :)

@ThePhD ThePhD added the Bug.Derp They don't call me The Phantom Derpstorm for no reason. label Oct 3, 2020
@ThePhD ThePhD self-assigned this Oct 3, 2020
@ThePhD ThePhD modified the milestones: Helpdesk, Bugs Oct 3, 2020
@ThePhD
Copy link
Owner

ThePhD commented Oct 3, 2020

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug.Derp They don't call me The Phantom Derpstorm for no reason.
Projects
None yet
Development

No branches or pull requests

2 participants