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.22k stars 3.01k forks source link

Add workaround for unguarded use of __has_extension (for v2.x) #2840

Closed morinmorin closed 3 months ago

morinmorin commented 3 months ago

This is a backport of #2839, for v2.x branch.

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 90.08%. Comparing base (d4b0b34) to head (c347e78).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## v2.x #2840 +/- ## ======================================= Coverage 90.08% 90.08% ======================================= Files 113 113 Lines 5040 5040 ======================================= Hits 4540 4540 Misses 500 500 ```