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 int32's that should be uint32 on BSD & OSX #24078

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented Sep 7, 2024

fixes #24076

As described in #24076, misannotating these types causes codegen errors. Sources for the types are https://github.com/openbsd/src/blob/master/sys for BSD and https://opensource.apple.com/source/Libinfo/Libinfo-391/ and _types.h for OSX.

@Araq Araq merged commit 7de4ace into nim-lang:devel Sep 9, 2024
19 checks passed
@Araq
Copy link
Member

Araq commented Sep 9, 2024

This must be mentioned in the changelog!

Copy link
Contributor

github-actions bot commented Sep 9, 2024

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 7de4ace

Hint: mm: orc; opt: speed; options: -d:release
174174 lines; 8.213s; 655.215MiB peakmem

metagn added a commit to metagn/Nim that referenced this pull request Sep 9, 2024
metagn added a commit to metagn/Nim that referenced this pull request Sep 9, 2024
Araq pushed a commit that referenced this pull request Sep 9, 2024
refs #24078, refs #24076

Since these changes are potentially breaking, add them to changelog,
also add Nlink as mentioned in
#24076 (comment).
narimiran pushed a commit that referenced this pull request Dec 16, 2024
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.

Bad int32-uint32 conversion RangeDefect on OSX/BSD
2 participants