Skip to content

Conversation

@arturbac
Copy link
Owner

@arturbac arturbac commented May 9, 2025

No description provided.

@arturbac arturbac self-assigned this May 9, 2025
@arturbac arturbac added the enhancement New feature or request label May 9, 2025
@arturbac
Copy link
Owner Author

arturbac commented May 9, 2025

@UF4007 Do You work on windows (I work on linux and I try to avoid runing >VM with win) ? Can You see why from_string fails consteval testing on msvc only ?
Something has changed probably as first PR I fixed and it was working.

@UF4007
Copy link
Contributor

UF4007 commented May 10, 2025

It seems MSVC does not support static constexpr variables within functions.

@UF4007 UF4007 merged commit 966167e into master May 10, 2025
4 checks passed
@arturbac
Copy link
Owner Author

arturbac commented May 10, 2025

@UF4007 WHY DID YOU merge ?
You didn't give me a chance to review


namespace string
{
constexpr fixed_internal power[14]{
Copy link
Owner Author

@arturbac arturbac May 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is wrong it should be inline constexpr as constexpr defaults to static,when in a header You have static then it is ODR when used in multiple translation units


inline constexpr isdigit_t isdigit;

namespace string
Copy link
Owner Author

@arturbac arturbac May 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is potentialy coliding with string in name.
It should be in a fixedmath::detail namespace

@UF4007
Copy link
Contributor

UF4007 commented May 10, 2025

Sorry, I am too hurried

@arturbac
Copy link
Owner Author

Ill fix that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants