Skip to content

Fix MSVC build ("__restrict__" keyword)#236

Merged
sdatkinson merged 1 commit into
sdatkinson:mainfrom
mikeoliphant:fix_restrict
Mar 9, 2026
Merged

Fix MSVC build ("__restrict__" keyword)#236
sdatkinson merged 1 commit into
sdatkinson:mainfrom
mikeoliphant:fix_restrict

Conversation

@mikeoliphant

Copy link
Copy Markdown
Contributor

The latest NAM Core doesn't build with Visual Studio because the "restrict" keyword is different ("__restrict").

This fixes things with an MSVC-specific #define.

@mikeoliphant

Copy link
Copy Markdown
Contributor Author

Resolves #237

@sdatkinson sdatkinson left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sdatkinson sdatkinson merged commit b80616c into sdatkinson:main Mar 9, 2026
3 checks passed
@mikeoliphant mikeoliphant deleted the fix_restrict branch May 21, 2026 15:27
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