Skip to content

Update geometric.hpp#1241

Closed
kenarab wants to merge 1 commit intoboostorg:developfrom
kenarab:patch-3
Closed

Update geometric.hpp#1241
kenarab wants to merge 1 commit intoboostorg:developfrom
kenarab:patch-3

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