Skip to content

Fix time.h extern prototype clashes - #533

Merged
godofecht merged 7 commits into
mainfrom
fix/time-header-extern-prototypes
Aug 17, 2026
Merged

godofecht merged 7 commits into
mainfrom
fix/time-header-extern-prototypes

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Closes #521.

Adds a real compiler regression for the reported <time.h> clash: a Flow fixture declares time, localtime_r, and strftime, transpiles through the C backend, requires the generated source to include <time.h>, and compiles that generated C with clang -Werror. The implementation will make the system header authoritative for the POSIX prototypes instead of emitting Flow's approximate declarations.

@godofecht
godofecht marked this pull request as ready for review August 17, 2026 10:05
@cursor

cursor Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

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.

@godofecht
godofecht merged commit bbb4dc0 into main Aug 17, 2026
1 check passed
@godofecht
godofecht deleted the fix/time-header-extern-prototypes branch August 18, 2026 07:24
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.

Auto-included <time.h> clashes with transpiler's localtime_r/strftime prototypes

1 participant