On 04/06/2010 11:57 PM, Bruno Haible wrote:
Instead, let's look more closely at the original problem:<windows.h> defines WCHAR to a type, whereas grep/src/dfa.h uses it as an enum item.The proposed workaround would not completely fix this problem: It would solve it for Cygwin only, but not for mingw. I would instead propose to add to dfa.h two lines: /*<windows.h> defines WCHAR as a type. */ #undef WCHAR
We already fixed it in grep, indeed. The fix is not needed anymore, it was just proposed as a cosmetic issue. Paolo
