[BRLTTY] Bug report MingW

Lars Bjørndal lars.bjorndal at broadpark.no
Wed Mar 22 07:07:20 EST 2006


Samuel Thibault <samuel.thibault at ens-lyon.org> writes:

> Hi,
>
> I'm lost. How is it that the result is different from your previous
> mail? Did you change anything in between?

Yes, I copied the source files to the system once more, to be sure all
was updated.

> Well, anyway. Your msys seems bogus. What is its version?

In msys.bat, it says revision 2.2, date March 28th 2004. I installed
msys-1.0.11-2004.04.30-1.exe.

> Could you try to compile the following program (gcc test.c -o test)?
>
> #include <sys/time.h>
> #include <winsock.h>
>
> int main(void) { return 0; }
>
> Regards,
> Samuel
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty

I got:

In file included from test.c:2:
/usr/include/winsock.h:78: warning: #warning "fd_set and associated macros have been defined in sys/types.      This can cause runtime problems with W32 sockets" 
/usr/include/winsock.h:102: warning: `timercmp' redefined
/usr/include/sys/time.h:51: warning: this is the location of the previous definition
/usr/include/winsock.h:103: warning: `timerclear' redefined
/usr/include/sys/time.h:47: warning: this is the location of the previous definition
In file included from test.c:2:
/usr/include/winsock.h:82: redefinition of `struct timeval'
/usr/include/winsock.h:468: conflicting types for `select'
/usr/include/sys/select.h:29: previous declaration of `select'


Lars
-- 
Lars Bjørndal <lars.bjorndal at broadpark.no>
Storetveitåsen 15, 5067 Bergen.
Tlf.: 55 28 87 55  Mobil: 958 37 537  Telefaks: 55 28 40 67


More information about the BRLTTY mailing list