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

Update geometric.hpp #1241

Closed
wants to merge 1 commit into from
Closed

Update geometric.hpp #1241

wants to merge 1 commit into from

Conversation

kenarab
Copy link
Contributor

@kenarab kenarab commented Jan 30, 2025

Missing namespace in log

std::log should be used because compilation fails on macOS.

I made the same PR on Apr-2024

#1127

Missing namespace in log

std::log should be used because compilation fails on macOS.

I made the same PR on Apr-2024

boostorg#1127
@jzmaddock
Copy link
Collaborator

No there's something else going on here and this is not the correct fix: we want/need log to be found via ADL for user defined numberic types, and the BOOST_MATH_STD_USING macro at the start of the function adds a using std::log; declaration which should take care of things. The question is why not?

@mborland
Copy link
Member

@kenarab Do you have a reproducer or system specifications? I just ran current develop on an macOS ARM machine with clang and gcc and everything works fine. We also have a variety of Mac systems in our CI.

@kenarab
Copy link
Contributor Author

kenarab commented Jan 30, 2025 via email

@mborland
Copy link
Member

We are running almost the same configuration in the Drone CI without issue:

Linux 371a6aac9be7 6.8.0-1008-aws #8-Ubuntu SMP Sat Apr 20 00:46:25 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux.

Are you testing against current develop, or boost from ubuntu's repositories? Your patch from the last PR is only present in 1.86+, and ubuntu 24.04 is providing 1.83: https://packages.ubuntu.com/noble/libboost-dev

@kenarab
Copy link
Contributor Author

kenarab commented Jan 30, 2025 via email

@mborland mborland closed this Jan 30, 2025
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

Successfully merging this pull request may close these issues.

3 participants