Skip to content

Suppress intentional global constructor warning - #184

Merged
sheredom merged 5 commits into
mainfrom
fix/suppress-global-constructors
Jul 20, 2026
Merged

Suppress intentional global constructor warning#184
sheredom merged 5 commits into
mainfrom
fix/suppress-global-constructors

Conversation

@sheredom

@sheredom sheredom commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Summary

Testing

  • Clang 19 debug build and all 10 tests
  • GCC 14 debug build and all 4 tests
  • full GitHub Actions matrix passes on Ubuntu, Windows, and macOS
  • git diff --check

🧙 Conjured by AI via pi.dev using gpt-5.6-sol

sheredom added 2 commits July 20, 2026 15:39
🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6
Includes the Clang padding warning fix from sheredom/subprocess.h#99.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6
sheredom added a commit to sheredom/subprocess.h that referenced this pull request Jul 20, 2026
Includes the intentional global constructor warning fix from sheredom/utest.h#184.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6
sheredom added 3 commits July 20, 2026 17:04
Includes the macOS 26 spawn chdir compatibility fix from sheredom/subprocess.h#99.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6
Includes the strict clang-cl C compatibility fix from sheredom/subprocess.h#99.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6
Includes the clang-cl TLS warning fix from sheredom/subprocess.h#99.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6
sheredom added a commit to sheredom/subprocess.h that referenced this pull request Jul 20, 2026
* Suppress intentional Windows struct padding warnings

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6

* Update vendored utest.h

Includes the intentional global constructor warning fix from sheredom/utest.h#184.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6

* Support the standardized macOS spawn chdir action

Use posix_spawn_file_actions_addchdir for macOS 26 deployment targets and suppress the intentional deprecation warning when retaining the backward-compatible _np API.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6

* Avoid wchar_t C++ keyword compatibility warnings

Use an internal wide-character alias so strict clang-cl C builds only need to suppress the compatibility warning at the intentional wchar_t typedef.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6

* Suppress intentional TLS object duplication warning

The named-pipe counter is intentionally local to each header-library instance.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6

* Ignore Windows SDK enum migration warnings

MSVC 2026 emits C4865 from Windows SDK headers under /Wall; suppress that external-header warning in the test build.

🧙 Conjured by AI via [pi.dev](https://pi.dev/) using gpt-5.6
@sheredom
sheredom merged commit 67aa8ec into main Jul 20, 2026
28 checks passed
@sheredom
sheredom deleted the fix/suppress-global-constructors branch July 20, 2026 19:01
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.

1 participant