Skip to content

fix: add missing trailing newline to extmath.h - #2

Merged
adequate-systems merged 1 commit into
adequatesystems:mainfrom
adequatelimited:fix/extmath-trailing-newline
Apr 2, 2026
Merged

fix: add missing trailing newline to extmath.h#2
adequate-systems merged 1 commit into
adequatesystems:mainfrom
adequatelimited:fix/extmath-trailing-newline

Conversation

@adequatelimited

Copy link
Copy Markdown
Contributor

Summary

Adds a missing trailing newline to src/extmath.h.

Why

Clang on macOS enables -Wnewline-eof by default. Combined with -Werror, this causes a hard build failure on macOS arm64 CI:

src/extmath.h:59:7: error: no newline at end of file [-Werror,-Wnewline-eof]

Breaks the macOS CI build for downstream projects (e.g., mochimodev/mochimo).

Change

Single character: adds \n at end of file after #endif.

Clang on macOS with -Werror -Wnewline-eof treats a missing
trailing newline as a hard error, breaking the macOS arm64 CI
build for any project that includes this header.
@adequate-systems

Copy link
Copy Markdown
Contributor

Single line change for Clang compatibility, no functional change.

@adequate-systems
adequate-systems merged commit 3b81362 into adequatesystems:main Apr 2, 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.

2 participants