Skip to content

Fix linker errors for downstream users caused by non-inline symbols in header#2403

Merged
lemire merged 1 commit intosimdjson:masterfrom
abbator:master
Jul 28, 2025
Merged

Fix linker errors for downstream users caused by non-inline symbols in header#2403
lemire merged 1 commit intosimdjson:masterfrom
abbator:master

Conversation

@abbator
Copy link
Contributor

@abbator abbator commented Jul 25, 2025

This addresses non-inlined symbols leaking into public headers after a recent update. Adding an inline specifier to these symbols fixes linker errors for downstream users.

Fixes #2402

@lemire
Copy link
Member

lemire commented Jul 27, 2025

Good catch.

Note that this code hasn’t been released yet!

@abbator
Copy link
Contributor Author

abbator commented Jul 27, 2025

Admittedly a 2 second fix, but I figured this was the quickest way to pinpoint the issue for maintainers.

It looks like the actual breaking commit was made a couple weeks ago, so surprising that no one made an issue for it earlier. Maybe most people are tracking a specific release. I track head of master in at least one project, so I'll be sure to report any future breakages should they arise.

@lemire lemire merged commit aa6817d into simdjson:master Jul 28, 2025
74 of 75 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.

Non-inline symbols cause linker errors for downstream users

2 participants