-
Notifications
You must be signed in to change notification settings - Fork 464
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
isnan and isinf belongs to std namespace #115
Comments
Note: that error looks like it's using clang to compile. You can check by doing |
ops, yes it's clang
|
hi,
clang 3.x is too old, you need at least clang 4.0 to build. |
Nah it’s fine. I’ve built epsilon with clang 3.5. |
Same error with clang 4.0.0 :/ |
Eh, then I guess a PR is needed. |
FTR: Those functions are in the provided math.h |
Hi !
I'm discovering epsilon and for my first build, I used a docker container with the latest Ubuntu:
I got plenty of error in a lot of files like:
I suppose this error didn't showed to other people before and I don't quite understand why.
Anyway, It appears that
isnan
andisinf
belongs tostd
namespace so I replacedisnan
->std::isnan
isinf
->std::isinf
in all concerned files and now it builds.
A patch is ready, would you want a PR ?
EDIT: this problems does not show up when not building for the simulator target.
The text was updated successfully, but these errors were encountered: