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

tools/config.hpp fixes #89

Closed
smr99 opened this issue Sep 26, 2017 · 1 comment
Closed

tools/config.hpp fixes #89

smr99 opened this issue Sep 26, 2017 · 1 comment

Comments

@smr99
Copy link

smr99 commented Sep 26, 2017

Hi,

Two items.

  1. Commit cc8e300 commented out the following define in tools/config.hpp:
#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \
   || (defined(__hppa) && !defined(__OpenBSD__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \
   && !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
//#  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
#endif

To me, this appears to be an error.

  1. Debian linux for hppa has been shipping with a patch for this condition. Specifically to exclude linux in this situation:
#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \
  || (defined(__hppa) && !defined(__OpenBSD__) && !defined(__linux__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \
  && !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)

...
@jzmaddock
Copy link
Collaborator

It was a mistake for sure, fixed in develop.

Thanks for the report!

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

2 participants