[sane-devel] Windows pthread issue

2012-03-02 Thread Michael Cronenworth
Chris Bagwell on 03/01/2012 11:20 AM wrote: > Can you test a possible fix since you have access? They appear to be > using an unsigned pointer so traditional "-1" can't be used. In > sanei_thread.c, modify these three blocks: Close. The attached patch fixes the compile issue and the resulting DL

[sane-devel] Windows pthread issue

2012-03-01 Thread Chris Bagwell
On Wed, Feb 29, 2012 at 1:00 PM, Michael Cronenworth wrote: > Hi All/Chris, > > Fedora (17) is moving away from mingw.org to the w64 MinGW environment. > > The w64 folks have a new pthreads implementation called "winpthreads" and I > have encountered an issue with it when compiling sane-backends.

[sane-devel] Windows pthread issue

2012-02-29 Thread Michael Cronenworth
Hi All/Chris, Fedora (17) is moving away from mingw.org to the w64 MinGW environment. The w64 folks have a new pthreads implementation called "winpthreads" and I have encountered an issue with it when compiling sane-backends. For the Windows build you try to expand the pthread_t pointer. Under