Skip to content

Dev - #37

Merged
sunxfancy merged 8 commits into
masterfrom
dev
Aug 9, 2026
Merged

Dev#37
sunxfancy merged 8 commits into
masterfrom
dev

Conversation

@sunxfancy

Copy link
Copy Markdown
Owner

No description provided.

Allow hosts to define ZEROERR_NO_MAIN, return non-zero from UnitTest::run on failure, export PUBLIC includes, discover libFuzzer link dirs via clang++ -print-runtime-dir, and fix MSVC __VA_ARGS__ forwarding plus should_fail/may_fail exit accounting.
@cursor

cursor Bot commented Aug 4, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

sunxfancy and others added 5 commits August 5, 2026 16:07
Modified the ZEROERR_PRINT_ASSERT macro to allow for empty message arguments by using an empty string as a pattern. This change ensures compatibility with Windows and Clang, preventing assertion failures when no additional format arguments are provided. Added a regression test to verify this behavior.
Updated the ZEROERR_CREATE_TEST_FUNC and TEST_CASE macros to include warning suppression around the function definition. This change improves the usability of the test framework by ensuring that warnings are properly managed during test case creation.
Introduced a new `is_complete_type` trait to ensure SFINAE fails for incomplete types, addressing GCC's strict subscripting rules. Updated the `is_array` trait to handle pointers to complete types separately, improving type safety and usability in template metaprogramming.
Dispatch on is_pointer before any [0] check so VkImageView/SDL_Window*
no longer hard-error inside void_t during ASSERT printing.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sunxfancy
sunxfancy merged commit 881d59b into master Aug 9, 2026
3 checks passed
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