Summary: | missing std:: for isnan and isinf | ||
---|---|---|---|
Product: | [Applications] kcalc | Reporter: | Jeremy Lavergne <snc> |
Component: | general | Assignee: | Evan Teran <evan.teran> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | macOS | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jeremy Lavergne
2010-12-28 23:52:53 UTC
This is a tough case, because neither isnan or isinf are defined by the c++ standard (they are in c99) so there is no guarantee that they are in the std:: namespace. Just to be clear, the issue is that on your macports attempted build this works: std::isinf(x); while isinf(x); does not? By adding `using namespace std` it successfully built. should be fixed in current SVN |