Skip to content

Fix literal operator with latest vendored date.h - #189

Merged
mr-smidge merged 1 commit into
mainfrom
fix/operator-literal-whitespace-fix-with-latest-date_h
Jun 1, 2026
Merged

Fix literal operator with latest vendored date.h#189
mr-smidge merged 1 commit into
mainfrom
fix/operator-literal-whitespace-fix-with-latest-date_h

Conversation

@mr-smidge

@mr-smidge mr-smidge commented May 17, 2026

Copy link
Copy Markdown
Contributor

The vendored version of date.h contained literal operators with whitespace, which is deprecated, and causes problems on newer compilers. This PR brings in the latest version of date.h, which introduces a compiler-dependent macro (introduced in HowardHinnant/date#884) for the literal operator (visible in the diff).

Fixes #185.

@mr-smidge mr-smidge self-assigned this May 17, 2026
@mr-smidge
mr-smidge marked this pull request as ready for review May 17, 2026 18:24
@mr-smidge
mr-smidge merged commit c53c79b into main Jun 1, 2026
14 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.

Build failure on macOS with Apple Clang 21.0.0 due to -Wdeprecated-literal-operator

1 participant