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

strnlen not defined in Cygwin. #331

Closed
rianquinn opened this issue Aug 18, 2016 · 1 comment
Closed

strnlen not defined in Cygwin. #331

rianquinn opened this issue Aug 18, 2016 · 1 comment
Assignees

Comments

@rianquinn
Copy link
Contributor

If you try to use the GSL in cygwin, you get:

"error: 'strnlen' was not declared in this scope".

Looking this up, it appears that strnlen is not a standard function. If this is true, we should either remove it, or provide our own implementation. Note that the link below is for MinGW but I am seeing this with GCC 5.4 in cygwin as well.

http://stackoverflow.com/questions/35197129/mingw-g-strnlen-was-not-declared-in-this-scope

@neilmacintosh
Copy link
Collaborator

@rianquinn this is a duplicate of #315, so I'll close it in favor of that issue.

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