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

Copile error "error: 'log2' is not a member of 'std'" on G5 with MacOS 10.5.8 #658

Closed
maciejmiklas opened this issue Nov 29, 2022 · 2 comments

Comments

@maciejmiklas
Copy link

maciejmiklas commented Nov 29, 2022

My setup: G5 Dual Core with MacOS 10.5.8, configuration used for build: G5.mozcfg
I followed the build instructions, and as far as I can tell, everything was successful.
The compilation breaks with an error:
error: 'log2' is not a member of 'std'

GCC 4.8 should support C99, but I wonder if this function is implemented for PPC.

Is this a bug, or am I doing something wrong?

Here is the full log:
build_log.txt.zip

@classilla
Copy link
Owner

This is known, and is an issue with the 10.5 SDK. Please see #498

@maciejmiklas
Copy link
Author

Thank you - replacing std::log2 with log2 solved the issue, and the compilation was successful.

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

2 participants