[adding bug-libsigsegv]

On 04/06/2010 11:02 AM, Aharon Robbins wrote:
> Hi. The Cygwin maintainer tells me that libsigsegv on Windows pulls in the
> dreaded <windows.h> header file which defines WCHAR as wchar_t, causing a
> conflict with the WCHAR in the enum in dfa.h.  I propose the following diff
> which compiles OK under Linux and moves the details into dfa.c.

I can confirm that <sigsegv.h> on cygwin has this unfortunate
limitation.  While libsigsegv may need to use <windows.h> inside of its
own .c files for the implementation, I think that it is a bug that the
mere use of its public header is dragging in a header that is better off
avoided in typical cygwin programs.  I'll see if I can help work up a
libsigsegv patch.

Meanwhile, your patch for dfa.h looks reasonable to me.

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to