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

LAY_RESTRICT in g++ #5

Closed
codecat opened this issue Jun 27, 2017 · 2 comments
Closed

LAY_RESTRICT in g++ #5

codecat opened this issue Jun 27, 2017 · 2 comments

Comments

@codecat
Copy link

codecat commented Jun 27, 2017

Layout defines it like this if __GNUC__ is defined:

#define LAY_RESTRICT restrict

However, this is not valid on g++. Changing this to __restrict makes it compile on g++ 6.3.0.

@randrew
Copy link
Owner

randrew commented Jun 27, 2017

Fixed, thanks. I'll add tests for checking both C99 and C++ compilation in GCC soon.

@codecat
Copy link
Author

codecat commented Jun 27, 2017

Thanks for the quick fix!

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

No branches or pull requests

2 participants