-
Notifications
You must be signed in to change notification settings - Fork 226
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
exp_sinh.hpp uses old-style casts #740
Comments
Yup, I'll fix it. |
Thanks! Btw looking through the code, I see a few other places where it's doing old-style casts: |
I'll fix 'em all! |
@rnburn : Should be fixed in 741. Once the CI cycles I'll merge; are you consuming the standalone? If so you can consume this independently of the rest of boost. |
Great! Thanks for the the quick turnaround. I was using it through https://github.com/nelhage/rules_boost, but I'm sure I'll be able to find a way to adopt the fix. |
@rnburn : Fix is merged. Leaving this issue open as I made the same mistake in sinh-sinh and tanh-sinh quadrature, so I'll close once I get those done. |
@jzmaddock : Will I get you into merge hell if I make those diffs? I see you have a pretty large outstanding diff to these files. |
I've just merged one lot of develop changes, if you don't mind holding off until CI has cycled on #722 I'll merge all that to develop if it's clean now. If not clean, just go ahead and I'll merge and resolve the conflicts on the branch, the merge conflicts aren't that awful. |
Just opened a PR which completely removes all old-style casts in all the double-exponential quadratures. Closing . . . |
boost quadrature errors with the message below when compiled with the flags
-Werror,-Wold-style-cast
It's easy enough to work around but there shouldn't be any need to use old-style casts.
The text was updated successfully, but these errors were encountered: