Re: [Cython] libc.string msvc incompatibility

2013-04-23 Thread Robert Bradshaw
It would at the very least be worth putting a note on these functions, but I'm not sure how far we should go with aliasing the platform-specific alternatives. Certainly a .h file that you "cdef extern from" include with these defines would be the shortest path to getting things working on your side

[Cython] libc.string msvc incompatibility

2013-04-23 Thread Dave Hirschfeld
When trying to use strcasecmp from libc.string I get an error compiling with msvc: error C3861: 'strcasecmp': identifier not found It seems MS have decided to call it by another name - _stricmp ...amongst others: http://botsikas.blogspot.co.uk/2011/12/strcasecmp-identifier-not-found- when.htm