Clarify unordered_map file warning #2

Closed
opened 2026-01-29 20:28:32 +00:00 by claunia · 3 comments
Owner

Originally created by @kennethormandy on GitHub (Dec 16, 2014).

I was trying to use google/woff2 on a machine running OS X 10.8 and got the following error:

./brotli/enc/./static_dict.h:21:10: fatal error: 'unordered_map' file not found

It turns out that the version of gcc with Xcode 5 is too low, I had to upgrade it manually from 4.2 to 4.7. If it’s relatively easy to clarify what that error message is about, I think it could be helpful. To be fair, I don’t really know anything about this stuff though, so feel free to disregard as well.

Thanks!

Originally created by @kennethormandy on GitHub (Dec 16, 2014). I was trying to use google/woff2 on a machine running OS X 10.8 and got the following error: ``` sh ./brotli/enc/./static_dict.h:21:10: fatal error: 'unordered_map' file not found ``` It turns out that the version of gcc with Xcode 5 is too low, I had to upgrade it manually from 4.2 to 4.7. If it’s relatively easy to clarify what that error message is about, I think it could be helpful. To be fair, I don’t really know anything about this stuff though, so feel free to disregard as well. Thanks!
Author
Owner

@cfxd commented on GitHub (Feb 9, 2015):

@kennethormandy, mind sharing the best way you found to upgrade Xcode's gcc? So many tuts out there it's hard to tell the good from the bad...

@cfxd commented on GitHub (Feb 9, 2015): @kennethormandy, mind sharing the best way you found to upgrade Xcode's gcc? So many tuts out there it's hard to tell the good from the bad...
Author
Owner

@erictaylor commented on GitHub (Jun 26, 2015):

Might be relevant. I was getting this same error and fixed the issue with adding some additional flags on build. See starting line 37. 91b55b3068/binding.gyp

OS X 10.10.3

@erictaylor commented on GitHub (Jun 26, 2015): Might be relevant. I was getting this same error and fixed the issue with adding some additional flags on build. See starting line 37. https://github.com/Psiablo/ttf2woff2/blob/91b55b30683f011ca415ee8e24a55228dc4fd834/binding.gyp OS X 10.10.3
Author
Owner

@szabadka commented on GitHub (Oct 1, 2015):

The encoder does not use unordered_map any more.

@szabadka commented on GitHub (Oct 1, 2015): The encoder does not use unordered_map any more.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#2