Re: wspiapi.h uses _N conflicting with ctype.h

2015-08-03 Thread JonY
On 8/3/2015 21:46, Corinna Vinschen wrote: > > The best result would be if you (or we) could convince the mingw-w64 > guys not to use _N. Jon? Any chance you could apply a patch to use > _n with lower case n? > > For the time being, you can push/pop the clashing macros prior to > including the

Re: wspiapi.h uses _N conflicting with ctype.h

2015-08-03 Thread Corinna Vinschen
On Aug 3 04:17, Michael Enright wrote: > Here's a reduction of a problem I had compiling v8: > > #include > #include "wspiapi.h" > char array[5]; > __wspiapi_countof_helper(array); > > The reduction isn't realistic but the problem is real. > > On one hand, ctype.h uses _N and it is within its

wspiapi.h uses _N conflicting with ctype.h

2015-08-03 Thread Michael Enright
Here's a reduction of a problem I had compiling v8: #include #include "wspiapi.h" char array[5]; __wspiapi_countof_helper(array); The reduction isn't realistic but the problem is real. On one hand, ctype.h uses _N and it is within its "rights" to do so as ctype.h is part of the standard library