Skip to content

Commit 2b60af8

Browse files
committed
v3.8.1
1 parent f51dc98 commit 2b60af8

7 files changed

+28
-12
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if (CMAKE_BINARY_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
3535
endif()
3636

3737
project(Catch2
38-
VERSION 3.8.0 # CML version placeholder, don't delete
38+
VERSION 3.8.1 # CML version placeholder, don't delete
3939
LANGUAGES CXX
4040
HOMEPAGE_URL "https://github.com/catchorg/Catch2"
4141
DESCRIPTION "A modern, C++-native, unit test framework."

docs/release-notes.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Release notes
44
**Contents**<br>
5+
[3.8.1](#381)<br>
56
[3.8.0](#380)<br>
67
[3.7.1](#371)<br>
78
[3.7.0](#370)<br>
@@ -66,6 +67,13 @@
6667
[Even Older versions](#even-older-versions)<br>
6768

6869

70+
## 3.8.1
71+
72+
### Fixes
73+
* Fixed bug where catch_discover_tests fails when no TEST_CASEs are present (#2962)
74+
* Fixed Clang 19 -Wc++20-extensions warning (#2968)
75+
76+
6977
## 3.8.0
7078

7179
### Improvements

extras/catch_amalgamated.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
// SPDX-License-Identifier: BSL-1.0
88

9-
// Catch v3.8.0
10-
// Generated: 2025-01-06 00:39:54.679994
9+
// Catch v3.8.1
10+
// Generated: 2025-04-08 12:33:19.863332
1111
// ----------------------------------------------------------
1212
// This file is an amalgamation of multiple different files.
1313
// You probably shouldn't edit it directly.
@@ -2283,7 +2283,7 @@ namespace Catch {
22832283
}
22842284

22852285
Version const& libraryVersion() {
2286-
static Version version( 3, 8, 0, "", 0 );
2286+
static Version version( 3, 8, 1, "", 0 );
22872287
return version;
22882288
}
22892289

extras/catch_amalgamated.hpp

+13-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
// SPDX-License-Identifier: BSL-1.0
88

9-
// Catch v3.8.0
10-
// Generated: 2025-01-06 00:39:54.340018
9+
// Catch v3.8.1
10+
// Generated: 2025-04-08 12:33:19.851017
1111
// ----------------------------------------------------------
1212
// This file is an amalgamation of multiple different files.
1313
// You probably shouldn't edit it directly.
@@ -191,8 +191,16 @@
191191
# define CATCH_INTERNAL_SUPPRESS_UNUSED_VARIABLE_WARNINGS \
192192
_Pragma( "clang diagnostic ignored \"-Wunused-variable\"" )
193193

194-
# define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \
195-
_Pragma( "clang diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"" )
194+
# if (__clang_major__ >= 20)
195+
# define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \
196+
_Pragma( "clang diagnostic ignored \"-Wvariadic-macro-arguments-omitted\"" )
197+
# elif (__clang_major__ == 19)
198+
# define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \
199+
_Pragma( "clang diagnostic ignored \"-Wc++20-extensions\"" )
200+
# else
201+
# define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS
202+
_Pragma( "clang diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"" )
203+
# endif
196204

197205
# define CATCH_INTERNAL_SUPPRESS_UNUSED_TEMPLATE_WARNINGS \
198206
_Pragma( "clang diagnostic ignored \"-Wunused-template\"" )
@@ -7342,7 +7350,7 @@ namespace Catch {
73427350

73437351
#define CATCH_VERSION_MAJOR 3
73447352
#define CATCH_VERSION_MINOR 8
7345-
#define CATCH_VERSION_PATCH 0
7353+
#define CATCH_VERSION_PATCH 1
73467354

73477355
#endif // CATCH_VERSION_MACROS_HPP_INCLUDED
73487356

meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
project(
99
'catch2',
1010
'cpp',
11-
version: '3.8.0', # CML version placeholder, don't delete
11+
version: '3.8.1', # CML version placeholder, don't delete
1212
license: 'BSL-1.0',
1313
meson_version: '>=0.54.1',
1414
)

src/catch2/catch_version.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace Catch {
3636
}
3737

3838
Version const& libraryVersion() {
39-
static Version version( 3, 8, 0, "", 0 );
39+
static Version version( 3, 8, 1, "", 0 );
4040
return version;
4141
}
4242

src/catch2/catch_version_macros.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010

1111
#define CATCH_VERSION_MAJOR 3
1212
#define CATCH_VERSION_MINOR 8
13-
#define CATCH_VERSION_PATCH 0
13+
#define CATCH_VERSION_PATCH 1
1414

1515
#endif // CATCH_VERSION_MACROS_HPP_INCLUDED

0 commit comments

Comments
 (0)