-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Clang 19 -Wc++20-extensions
warning
#2910
Labels
Comments
abhishekbelgaonkar23
added a commit
to abhishekbelgaonkar23/Catch2
that referenced
this issue
Nov 16, 2024
-Added INTERNAL_CATCH_TEMPLATE_TEST_CASE_HANDLE_EMPTY macro for Clang 19+ - Modified template test case macro expansion path for Clang 19+ - Keeps original behavior for other compilers and older Clang versions
abhishekbelgaonkar23
added a commit
to abhishekbelgaonkar23/Catch2
that referenced
this issue
Nov 16, 2024
…chorg#2910) - Added INTERNAL_CATCH_TEMPLATE_TEST_CASE_HANDLE_EMPTY macro for Clang 19+ - Modified template test case macro expansion path for Clang 19+ - Keeps original behavior for other compilers and older Clang versions
elbeno
added a commit
to elbeno/cicd-repo-infrastructure
that referenced
this issue
Jan 14, 2025
- Catch2: 3.6.0 -> 3.8.0 - CPM: 0.38.2 -> 0.40.2 - GoogleTest: 1.14.0 -> 1.15.2 - rapidcheck: 1c91f40 -> ff6af6f - Snitch: 1.2.5 -> 1.3.1 - Mull: 0.23.0 -> 0.24.0 Note: - Catch2 has a bug with C++17 and clang-19 detailed at catchorg/Catch2#2910
elbeno
added a commit
to elbeno/cicd-repo-infrastructure
that referenced
this issue
Jan 14, 2025
- Catch2: 3.6.0 -> 3.8.0 - CPM: 0.38.2 -> 0.40.2 - GoogleTest: 1.14.0 -> 1.15.2 - rapidcheck: 1c91f40 -> ff6af6f - Snitch: 1.2.5 -> 1.3.1 - Mull: 0.23.0 -> 0.24.0 - Switch to clang-19 as the primary compiler for tests in this repo Note: - Catch2 has a bug with C++17 and clang-19 detailed at catchorg/Catch2#2910
elbeno
added a commit
to elbeno/cicd-repo-infrastructure
that referenced
this issue
Jan 14, 2025
- Catch2: 3.6.0 -> 3.8.0 - CPM: 0.38.2 -> 0.40.2 - GoogleTest: 1.14.0 -> 1.15.2 - rapidcheck: 1c91f40 -> ff6af6f - Snitch: 1.2.5 -> 1.3.1 - Mull: 0.23.0 -> 0.24.0 - Switch to clang-19 as the primary compiler for tests in this repo Note: - A recent change to puppeteer caused mermaid doc image generation to fail. Fixed. - Catch2 has a bug with C++17 and clang-19 detailed at catchorg/Catch2#2910
elbeno
added a commit
to elbeno/cicd-repo-infrastructure
that referenced
this issue
Jan 14, 2025
- Catch2: 3.6.0 -> 3.8.0 - CPM: 0.38.2 -> 0.40.2 - GoogleTest: 1.14.0 -> 1.15.2 - rapidcheck: 1c91f40 -> ff6af6f - Snitch: 1.2.5 -> 1.3.1 - Mull: 0.23.0 -> 0.24.0 - Switch to clang-19 as the primary compiler for tests in this repo Note: - A recent change to puppeteer caused mermaid doc image generation to fail. Fixed. - Catch2 has a bug with C++17 and clang-19 detailed at catchorg/Catch2#2910
elbeno
added a commit
to elbeno/cicd-repo-infrastructure
that referenced
this issue
Jan 14, 2025
- Catch2: 3.6.0 -> 3.8.0 - CPM: 0.38.2 -> 0.40.2 - GoogleTest: 1.14.0 -> 1.15.2 - rapidcheck: 1c91f40 -> ff6af6f - Snitch: 1.2.5 -> 1.3.1 - Mull: 0.23.0 -> 0.24.0 - Switch to clang-19 as the primary compiler for tests in this repo Note: - A recent change to puppeteer caused mermaid doc image generation to fail. Fixed. - Catch2 has a bug with C++17 and clang-19 detailed at catchorg/Catch2#2910
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Clang reports a
-Wc++20-extensions
warning when expanding theTEMPLATE_TEST_CASE
macro with the following messageReproduction steps
I'm using the
all-tests
preset with Clang 19 as provided by Homebrew. I also encounter this issue when consuming Catch2 viaFetchContent
for use in various other projects.Platform information:
fa43b77429ba76c462b1898d6cd2f2d7a9416b14
The text was updated successfully, but these errors were encountered: