Skip to content

Add inline to compute_empirical_entropy to fix multiple definition error#94

Merged
jermp merged 2 commits intojermp:masterfrom
ratschlab:master
Feb 24, 2026
Merged

Add inline to compute_empirical_entropy to fix multiple definition error#94
jermp merged 2 commits intojermp:masterfrom
ratschlab:master

Conversation

@adamant-pwn
Copy link
Contributor

When pthash headers are included in multiple translation units and linked together, the non-inline compute_empirical_entropy function causes linker errors due to multiple definitions. Adding inline allows the linker to keep a single copy.

…rors

When pthash headers are included in multiple translation units and linked
together, the non-inline compute_empirical_entropy function causes linker
errors due to multiple definitions. Adding inline allows the linker to
keep a single copy.
@adamant-pwn adamant-pwn changed the title Add inline to compute_empirical_entropy to fix multiple definition er… Add inline to compute_empirical_entropy to fix multiple definition error Feb 16, 2026
@jermp jermp merged commit 1bbe0af into jermp:master Feb 24, 2026
9 checks passed
@jermp
Copy link
Owner

jermp commented Feb 24, 2026

thanks!

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