Skip to content

Remove C++ support - #2

Merged
egorsmkv merged 1 commit into
mainfrom
fix/1-remove-cpp-support
Oct 28, 2026
Merged

egorsmkv merged 1 commit into
mainfrom
fix/1-remove-cpp-support

Conversation

@egorsmkv

Copy link
Copy Markdown
Contributor

Removes the public header's extern "C" wrappers and C++ variants of CS_LIT and CS_ALIGNOF, leaving the existing C implementations. Updates the README and build guide to advertise ISO C11/C17/C23 only. Build configuration and CI already target C.

Fixes #1.

Validation on Linux x86_64 with GCC 13.3.0:

  • C11 (make test), C17, and experimental C2x builds: 2,068 assertions each, zero failures, with -Wall -Wextra -Werror -pedantic.
  • ASan/UBSan: 2,068 assertions, zero failures with ASAN_OPTIONS=detect_leaks=0. The default make test-asan run was blocked by LeakSanitizer's inability to inspect /proc in this environment.
  • Benchmark executable builds successfully; git diff --check passes.
  • No C++ support references remain in tracked source, documentation, or workflow files.

Clang and CMake are unavailable locally; their checks are left to CI. GCC 13's C2x run does not establish final C23 conformance.

@egorsmkv
egorsmkv marked this pull request as ready for review October 28, 2026 09:24
@egorsmkv
egorsmkv merged commit 41f6d4f into main Oct 28, 2026
12 checks passed
@egorsmkv
egorsmkv deleted the fix/1-remove-cpp-support branch October 28, 2026 09:28
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.

Remove C++ support

1 participant