Skip to content

Conversation

@geghamyan
Copy link

@geghamyan geghamyan commented Sep 23, 2025

  • Replaced the non-type template parameter with a pointer, which should resolve the reference issue with Clang.
  • Fixed unit tests failing with the latest versions of GCC and Clang [edit MM: with std::variant].

@martinmoene
Copy link
Collaborator

Added clang 17 to GitHub Actions and interestingly there it does not fail.

martinmoene added a commit that referenced this pull request Sep 24, 2025
@martinmoene
Copy link
Collaborator

martinmoene commented Sep 24, 2025

Added test case for "Undefined reference to index_tag<0ul>" on clang-17 and later (issue #54 , this PR #56), 9c066f5

This apparently compiles successfully with clang-17.

I'm at a loss what I'm missing...

@geghamyan
Copy link
Author

The issue is reproducible with the following flags "-std=c++11 -O0 -g"
In the PR I have added CMAKE_CXX_FLAGS_DEBUG , which can be triggered by passing -DCMAKE_BUILD_TYPE=Debug during CMake configuration

@martinmoene
Copy link
Collaborator

@geghamyan Ah, yes, thanks.

@martinmoene martinmoene merged commit 7c5fd38 into nonstd-lite:master Sep 28, 2025
5 of 7 checks passed
@geghamyan
Copy link
Author

@martinmoene Thank you for integrating the changes. I was wondering, when are you planning the next tag/release?

@martinmoene
Copy link
Collaborator

@geghamyan , Thanks for providing the PR.

I'm currently working on issue #48, hope to make a new release in a couple of days.

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.

2 participants