Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix building on NetBSD #18

Merged
merged 1 commit into from
Mar 17, 2024
Merged

Conversation

brad0
Copy link
Contributor

@brad0 brad0 commented Mar 17, 2024

The static inline function popcount64() conflicts with a function
with NetBSD's libc.

https://man.netbsd.org/popcount.3

@brad0
Copy link
Contributor Author

brad0 commented Mar 17, 2024

Usually projects in this situation would rename the static inline function. I am just not sure what function name you would like to use.

@brad0 brad0 force-pushed the netbsd_popcount64 branch from ff89711 to 94d09cf Compare March 17, 2024 01:39
The static inline function popcount64() conflicts with a function
with NetBSD's libc.

https://man.netbsd.org/popcount.3
@brad0 brad0 force-pushed the netbsd_popcount64 branch from 94d09cf to bace659 Compare March 17, 2024 01:57
@kimwalisch kimwalisch merged commit f166bcc into kimwalisch:master Mar 17, 2024
1 check passed
@brad0 brad0 deleted the netbsd_popcount64 branch March 17, 2024 08:32
@kimwalisch
Copy link
Owner

I am just not sure what function name you would like to use.

I renamed it to popcnt64_bitwise(x).

@brad0
Copy link
Contributor Author

brad0 commented Mar 17, 2024

I am just not sure what function name you would like to use.

I renamed it to popcnt64_bitwise(x).

Thank you. I figured you would have another name. Perfect.

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