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

Changed 'restrict' define to 'OPJ_RESTRICT' #661

Closed
wants to merge 1 commit into from
Closed

Changed 'restrict' define to 'OPJ_RESTRICT' #661

wants to merge 1 commit into from

Conversation

dlemstra
Copy link

This patch changes the 'restrict' define to 'OBJ_RESTRICT' to avoid possible future issues with the restrict keyword of Visual Studio. It also enables restrict for Visual Studio 2005 and up.

@mayeut mayeut closed this in 9f24b07 Sep 5, 2016
@dlemstra dlemstra deleted the change-restrict branch September 6, 2016 05:05
malaterre pushed a commit that referenced this pull request Sep 13, 2016
Visual Studio 2015 does not pass regression tests with `__restrict` so kept disabled for MSVC.
Need to check proper usage of OPJ_RESTRICT (if correct then there’s
probably a bug  in vc14)

Closes #661
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.

1 participant