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

Enable missing acosh & friends in cmath #34

Closed
dmik opened this issue Sep 2, 2019 · 2 comments
Closed

Enable missing acosh & friends in cmath #34

dmik opened this issue Sep 2, 2019 · 2 comments

Comments

@dmik
Copy link
Collaborator

dmik commented Sep 2, 2019

Currently, std::acosh and friends are not part of std because our c++config.h lacks _GLIBCXX_USE_C99_MATH_TR1. Should be easily fixable but we also need to guard some imports (like log2, log2f and tgammaf) with #ifdef _GNU_SOURCE as they are not defined by math.h otherwise.

As a temporary solution, one may simply omit the std namespace so that C versions will be dragged right from the global C namespace.

@dmik
Copy link
Collaborator Author

dmik commented Sep 5, 2019

The relevant commit with workarounds that need to be undone once this is fixed is this one: bitwiseworks/qtdeclarative-os2@e7a9758

dmik added a commit to bitwiseworks/qtbase-os2 that referenced this issue Sep 23, 2019
@dmik
Copy link
Collaborator Author

dmik commented Mar 16, 2020

Closing in favor of bitwiseworks/gcc-os2#15.

@dmik dmik closed this as completed Mar 16, 2020
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