Skip to content

Move headers back and fix Windows build - #140

Merged
dag-erling merged 6 commits into
laurikari:masterfrom
dag-erling:des/headers
May 23, 2026
Merged

Move headers back and fix Windows build#140
dag-erling merged 6 commits into
laurikari:masterfrom
dag-erling:des/headers

Conversation

@dag-erling

Copy link
Copy Markdown
Collaborator

The headers had previously been moved in a misguided attempt to prevent the build from picking up the wrong ones if TRE was already installed. Move them back, fix compiler flags to address the underlying issue, and fix preexisting issues in the Windows build.

dag-erling added 6 commits May 8, 2026 12:24
Normalize the top-of-file comment and include guard in all our headers.
No functional change intended.
This was never a good idea, and it is moot now anyway since the stated
reason for it (the python extension module) is currently unbuildable.
Request slightly newer versions of autoconf and gettext to silence
warnings from automake.
* Add missing x64 target definitions.

* Update config.h.in, not just config.h, so the latter gets regenerated
  correctly.

* Use correct line endings.

Fixes:		13759f2 ("Update project files for Visual Studio 2022.")
Now that we've fixed the x64 build, we need to define ssize_t as either
a 64-bit signed int (for win64) or a 32-bit signed int (for win32).
@dag-erling
dag-erling requested a review from trushworth May 12, 2026 13:00
@dag-erling dag-erling added the bug label May 15, 2026
@dag-erling
dag-erling merged commit d3c5bd9 into laurikari:master May 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant