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

measurement-kit: Fix compilation with uClibc-ng #9875

Merged
merged 1 commit into from
Sep 3, 2019
Merged

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Aug 30, 2019

nextafter is not included in std with uClibc-ng. Don't use the std version

Signed-off-by: Rosen Penev rosenp@gmail.com

Maintainer: @ja-pa
Compile tested: arc700

Closes: #9825

@BKPepe
Copy link
Member

BKPepe commented Aug 31, 2019

Shouldn't you send the patch to measurement-kit's devs, so it will be included in a new version?

@neheb
Copy link
Contributor Author

neheb commented Aug 31, 2019

Already did: catchorg/Catch2#1739

nextafter is not included in std with uClibc-ng. Don't use the std version

Signed-off-by: Rosen Penev <rosenp@gmail.com>
@neheb
Copy link
Contributor Author

neheb commented Sep 1, 2019

Updated patch. Turns out it's not so simple. std::nextafter is actually nextafterf in C.

@neheb neheb merged commit 4854f1c into openwrt:master Sep 3, 2019
@neheb neheb deleted the mneas branch September 3, 2019 17:56
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

Successfully merging this pull request may close these issues.

measurement-kit not compiling with uClibc-ng
2 participants