From: Karl Bongers <karl@tu...> - 2000-09-29 17:28:40
I verified that under
Linux -> accept(,, unsigned int *),
Cygwin -> accept(,, int *),
Win32, Mickysoft -> accept(,,int *)
So if Linux is "right" then, cygwin & Win32 are wrong.
I suppose this autoconf stuff could be tweaked to deal with it, but this might
take a GNU scientest well versed in autoconf :)
At 10:47 PM 9/28/2000 -0500, you wrote:
>Your results are about the same as mine. I am still trying to understand
>the autoconfigure stuff for strerror(). The int*/uint* problem with the
>accept() function is
>a problem in Cygwin ~include/sys/socket.h which is just wrong. The
>type should ultimately typecase to unsigned not signed like they have
>it. I sent
>mail to the Cygwin bugs list but have not heard anything back. In the
>change socket.h if you want "correct" behaviour, rather than the
>simulator which is
>sdcc-devel mailing list
From: Kevin Vigor <kvigor@en...> - 2000-09-29 20:02:09
On 29-Sep-2000 Karl Bongers wrote:
> I suppose this autoconf stuff could be tweaked to deal with it, but
> this might
> take a GNU scientest well versed in autoconf :)
By a happy coincidence, I happen to have had just this problem with
the dxpc project (which I sort-of maintain) and wrote an autoconf
macro for this which has worked well on many platforms.
I just committed changes to ucsim/configure & various supporting
files to use this happy macro.
If it blows up, feel free to back my changes out, but it works for me
Get latest updates about Open Source Projects, Conferences and News.