<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3, branch build/catch3-link-names</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>Keep the debug "d": a debug build is not the same library</title>
<updated>2026-11-17T19:00:16+00:00</updated>
<author>
<name>Leitwolf11</name>
</author>
<published>2026-11-17T19:00:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0f987a33220d3217a4e3e8416ce413f9983e3aa0'/>
<id>0f987a33220d3217a4e3e8416ce413f9983e3aa0</id>
<content type='text'>
The previous commit dropped CMake's DEBUG_POSTFIX on every platform. A
debug build is a different library from a release build, so it keeps its
own name, libCatch3d and libCatch3Maind. The released archives and the
Progmasoft Linux packages hold release builds, which are libCatch3 and
libCatch3Main, so an installed Catch3 links with -lCatch3 and -lCatch3Main.

The Ubuntu install job links with -lCatch3Maind -lCatch3d in its Debug
rows and with -lCatch3Main -lCatch3 in its Release rows; pkg-config gives
the right names in both. The documentation names both.

Checked locally: a Release install gives libCatch3.a and libCatch3Main.a, a
Debug install libCatch3d.a and libCatch3Maind.a; a test links and passes
with each, and pkg-config prints the matching flags.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous commit dropped CMake's DEBUG_POSTFIX on every platform. A
debug build is a different library from a release build, so it keeps its
own name, libCatch3d and libCatch3Maind. The released archives and the
Progmasoft Linux packages hold release builds, which are libCatch3 and
libCatch3Main, so an installed Catch3 links with -lCatch3 and -lCatch3Main.

The Ubuntu install job links with -lCatch3Maind -lCatch3d in its Debug
rows and with -lCatch3Main -lCatch3 in its Release rows; pkg-config gives
the right names in both. The documentation names both.

Checked locally: a Release install gives libCatch3.a and libCatch3Main.a, a
Debug install libCatch3d.a and libCatch3Maind.a; a test links and passes
with each, and pkg-config prints the matching flags.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop the debug "d" on Windows too</title>
<updated>2026-11-17T18:54:57+00:00</updated>
<author>
<name>Leitwolf11</name>
</author>
<published>2026-11-17T18:54:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=95e2cad52aa1dd573ea0e6075af0fdd49c30a78a'/>
<id>95e2cad52aa1dd573ea0e6075af0fdd49c30a78a</id>
<content type='text'>
Released archives and the Progmasoft Linux packages hold release builds,
so a debug build needs no file name of its own on any platform. Catch3 and
Catch3Main now have the same names in every configuration everywhere.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Released archives and the Progmasoft Linux packages hold release builds,
so a debug build needs no file name of its own on any platform. Catch3 and
Catch3Main now have the same names in every configuration everywhere.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Let an installed Catch3 link with -lCatch3 and -lCatch3Main in every build</title>
<updated>2026-11-17T18:54:23+00:00</updated>
<author>
<name>Leitwolf11</name>
</author>
<published>2026-11-17T18:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=5da6bc7b6ab2f857d7be70d5ad966636b33d8164'/>
<id>5da6bc7b6ab2f857d7be70d5ad966636b33d8164</id>
<content type='text'>
CMake named the files of a debug build libCatch3d and libCatch3Maind, so
-lCatch3 and -lCatch3Main found only a release install. Premake named the
library with main Catch3WithMain, and Xmake named both after their targets
(catch3, catch3_main).

The files are now libCatch3 and libCatch3Main in CMake, Meson, Xmake and
Premake. The debug "d" stays on Windows only, where a debug build links the
debug C runtime and a debug and a release build are installed side by side.
Target names and the pkg-config modules catch3 and catch3-with-main are
unchanged.

The Ubuntu install job now compiles a test against the installed tree with
-lCatch3Main -lCatch3, and again through pkg-config, and runs both.
docs/progmasoft-catch3.md says how to link without a build system.

Checked locally: a CMake Debug install gives libCatch3.a and
libCatch3Main.a, and a test links both ways and passes; Xmake builds
libCatch3.a and libCatch3Main.a; Premake's makefiles name libCatch3.a and
libCatch3Main.a.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CMake named the files of a debug build libCatch3d and libCatch3Maind, so
-lCatch3 and -lCatch3Main found only a release install. Premake named the
library with main Catch3WithMain, and Xmake named both after their targets
(catch3, catch3_main).

The files are now libCatch3 and libCatch3Main in CMake, Meson, Xmake and
Premake. The debug "d" stays on Windows only, where a debug build links the
debug C runtime and a debug and a release build are installed side by side.
Target names and the pkg-config modules catch3 and catch3-with-main are
unchanged.

The Ubuntu install job now compiles a test against the installed tree with
-lCatch3Main -lCatch3, and again through pkg-config, and runs both.
docs/progmasoft-catch3.md says how to link without a build system.

Checked locally: a CMake Debug install gives libCatch3.a and
libCatch3Main.a, and a test links both ways and passes; Xmake builds
libCatch3.a and libCatch3Main.a; Premake's makefiles name libCatch3.a and
libCatch3Main.a.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #56 from Progmasoft/fix/pipe-read-limit</title>
<updated>2026-11-17T18:28:03+00:00</updated>
<author>
<name>Leitwolf</name>
</author>
<published>2026-11-17T18:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2de8e46a15b2967438125f69dc6cfbadca14573d'/>
<id>2de8e46a15b2967438125f69dc6cfbadca14573d</id>
<content type='text'>
Ask read() for at most SSIZE_MAX bytes in PipeReader::Read</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ask read() for at most SSIZE_MAX bytes in PipeReader::Read</pre>
</div>
</content>
</entry>
<entry>
<title>Ask read() for at most SSIZE_MAX bytes in PipeReader::Read</title>
<updated>2026-11-17T16:00:44+00:00</updated>
<author>
<name>Leitwolf11</name>
</author>
<published>2026-11-17T16:00:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7c3b73b14a3f0714c8eca3ad1a69bc1963ae773d'/>
<id>7c3b73b14a3f0714c8eca3ad1a69bc1963ae773d</id>
<content type='text'>
POSIX leaves a read() request above SSIZE_MAX to the implementation, and
the count it returns could not then be told from an error. The POSIX
branch of PipeReader::Read now asks for the smaller of the buffer size and
SSIZE_MAX, as the Windows branch already limits one ReadFile call. The
caller sees no change: a short read was always possible, and the reader
loops until the pipe ends.

The single-file distribution is regenerated from the sources.

Checked: bazelisk test //... (3 of 3 pass), bazelisk run
//tools:amalgamate -- --check, clang-format dry-run with -Werror.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
POSIX leaves a read() request above SSIZE_MAX to the implementation, and
the count it returns could not then be told from an error. The POSIX
branch of PipeReader::Read now asks for the smaller of the buffer size and
SSIZE_MAX, as the Windows branch already limits one ReadFile call. The
caller sees no change: a short read was always possible, and the reader
loops until the pipe ends.

The single-file distribution is regenerated from the sources.

Checked: bazelisk test //... (3 of 3 pass), bazelisk run
//tools:amalgamate -- --check, clang-format dry-run with -Werror.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #47 from Progmasoft/security/bounded-strings</title>
<updated>2026-11-17T15:57:52+00:00</updated>
<author>
<name>Leitwolf</name>
</author>
<published>2026-11-17T15:57:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7ff85d401d6f7f2d37fc0566f346a521a9bb7cee'/>
<id>7ff85d401d6f7f2d37fc0566f346a521a9bb7cee</id>
<content type='text'>
Bound three string and XML reads that analysis flagged</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bound three string and XML reads that analysis flagged</pre>
</div>
</content>
</entry>
<entry>
<title>Import defusedxml's ElementTree under its own name</title>
<updated>2026-11-16T16:48:41+00:00</updated>
<author>
<name>Leitwolf11</name>
</author>
<published>2026-11-16T16:48:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=98aa45f74647ab0e18d0a26615fb848f5f798745'/>
<id>98aa45f74647ab0e18d0a26615fb848f5f798745</id>
<content type='text'>
pycodestyle N817 flags a CamelCase module imported as an acronym. The
test now uses ElementTree.parse and ElementTree.ParseError directly.

Claude-Session: https://claude.ai/code/session_01Ji7xZMYjc4zankoc7hGBE1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pycodestyle N817 flags a CamelCase module imported as an acronym. The
test now uses ElementTree.parse and ElementTree.ParseError directly.

Claude-Session: https://claude.ai/code/session_01Ji7xZMYjc4zankoc7hGBE1
</pre>
</div>
</content>
</entry>
<entry>
<title>Install defusedxml in the Windows jobs too</title>
<updated>2026-11-16T15:15:26+00:00</updated>
<author>
<name>Leitwolf11</name>
</author>
<published>2026-11-16T15:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=bcb783b32b57d0d256b43591ec591630d7bbd390'/>
<id>bcb783b32b57d0d256b43591ec591630d7bbd390</id>
<content type='text'>
The all-tests preset builds the extra tests, so the Windows jobs run the
Bazel reporter test as well. They install requirements-tests.txt into
the Python of actions/setup-python and hand that Python to CMake.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01Ji7xZMYjc4zankoc7hGBE1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The all-tests preset builds the extra tests, so the Windows jobs run the
Bazel reporter test as well. They install requirements-tests.txt into
the Python of actions/setup-python and hand that Python to CMake.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01Ji7xZMYjc4zankoc7hGBE1
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'devel' into security/bounded-strings</title>
<updated>2026-11-16T15:11:16+00:00</updated>
<author>
<name>Leitwolf</name>
</author>
<published>2026-11-16T15:11:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f581f27f59886ddbc6607456793cf6129400ddc1'/>
<id>f581f27f59886ddbc6607456793cf6129400ddc1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #49 from Progmasoft/ci/remote-cache</title>
<updated>2026-11-16T15:11:10+00:00</updated>
<author>
<name>Leitwolf</name>
</author>
<published>2026-11-16T15:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=eea3be11a9e1a047442d71626557e57c3061da1a'/>
<id>eea3be11a9e1a047442d71626557e57c3061da1a</id>
<content type='text'>
Build against the Progmasoft remote cache</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Build against the Progmasoft remote cache</pre>
</div>
</content>
</entry>
</feed>
