Skip to content

strnlen not defined in Cygwin.  #331

@rianquinn

Description

@rianquinn

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions