Skip to content

fix(boost-ext.ut): add size_t alias to generated module for MinGW GCC 16.1 - #173

Merged
Sunrisepeak merged 3 commits into
mcpplibs:mainfrom
ZheFeng7110:fix/boost-ext-ut-mingw-size_t
Aug 6, 2026
Merged

fix(boost-ext.ut): add size_t alias to generated module for MinGW GCC 16.1#173
Sunrisepeak merged 3 commits into
mcpplibs:mainfrom
ZheFeng7110:fix/boost-ext-ut-mingw-size_t

Conversation

@ZheFeng7110

Copy link
Copy Markdown
Collaborator

Add a module-local using size_t = std::size_t; to the generated mcpp_generated/boost.ut.cppm so MinGW GCC 16.1 (*-pc-windows-mingw), which has no unqualified ::size_t, can compile the module (ut.hpp:1916 et al use plain size_t). The alias is never exported and is a no-op on toolchains that do provide ::size_t (upstream problem, fixed package-side). Also updates the descriptor comments documenting the second deviation.

@Sunrisepeak
Sunrisepeak merged commit 52da54a into mcpplibs:main Aug 6, 2026
7 checks passed
@ZheFeng7110
ZheFeng7110 deleted the fix/boost-ext-ut-mingw-size_t branch August 6, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants