catchorg / Catch2

A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
https://discord.gg/4CWS9zD
Boost Software License 1.0
18.51k stars 3.04k forks source link

Add workaround for unguarded use of __has_extension #2839

Closed morinmorin closed 6 months ago

morinmorin commented 6 months ago

Description

In recent update, Apple's TargetConditionals.h contains unguarded use of __has_extension. This PR add a workaround for this.

GitHub Issues

Fixes #2837

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.17%. Comparing base (459ac85) to head (00b7f30).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## devel #2839 +/- ## ======================================= Coverage 91.17% 91.17% ======================================= Files 197 197 Lines 8379 8379 ======================================= Hits 7639 7639 Misses 740 740 ```
horenmar commented 6 months ago

Thanks