Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

remove std:: namespace from copysignf and copysign #58

Merged
merged 1 commit into from

2 participants

@davidraleigh

Aleksandar's recommendation for an Android compile error fix ended up fixing the same compile error for iPhone and iPhonesimulator:

"copysign* is C99/C++ TR1, apparently still not in std namespace with
gcc 4.7. Remove std:: in front of it and see if it helps. If you
provide a patch, we'll test and include it for future releases."

David B Raleigh remove std from copysignf and copysign
"copysign* is C99/C++ TR1, apparently still not in std namespace with
gcc 4.7. Remove std:: in front of it and see if it helps. If you
provide a patch, we'll test and include it for future releases."
c1b8673
@aleks-f aleks-f merged commit a867fb8 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 12, 2013
  1. remove std from copysignf and copysign

    David B Raleigh authored
    "copysign* is C99/C++ TR1, apparently still not in std namespace with
    gcc 4.7. Remove std:: in front of it and see if it helps. If you
    provide a patch, we'll test and include it for future releases."
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 Foundation/include/Poco/FPEnvironment_DUMMY.h
View
4 Foundation/include/Poco/FPEnvironment_DUMMY.h
@@ -131,13 +131,13 @@ inline bool FPEnvironmentImpl::isNaNImpl(long double value)
inline float FPEnvironmentImpl::copySignImpl(float target, float source)
{
- return std::copysignf(target, source);
+ return copysignf(target, source);
}
inline double FPEnvironmentImpl::copySignImpl(double target, double source)
{
- return std::copysign(target, source);
+ return copysign(target, source);
}
Something went wrong with that request. Please try again.