GNU bug report logs - #35405
Guile stable-2.2 HEAD fails to compile on MingGW-W64.

Previous Next

Package: guile;

Reported by: John Ralls <jralls <at> ceridwen.us>

Date: Tue, 23 Apr 2019 22:06:02 UTC

Severity: normal

Full log


Message #14 received at 35405 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: John Ralls <jralls <at> ceridwen.us>
Cc: 35405 <at> debbugs.gnu.org
Subject: Re: bug#35405: Patch for 35405
Date: Sun, 30 Jun 2019 17:30:44 +0200
Hi John,

Apologies for the late reply.

John Ralls <jralls <at> ceridwen.us> skribis:

> From f2de9d206b33bc2e27acde1e751df9ba8faf60a9 Mon Sep 17 00:00:00 2001
> From: John Ralls <jralls <at> ceridwen.us>
> Date: Tue, 23 Apr 2019 15:06:48 -0700
> Subject: [PATCH] Fix build on MinGW-w64
>
> Fixes bug 35405
>
>        * lib/poll.h: MinGW provides struct pollfd in winsock2.h and
>          lib/threads.h includes it so disable declaring it in poll.h and
>          get the declaration from winsock2.h. Otherwise gcc complains that
>          poll() has a different signature between the declaration and
>          definition.
>        * libguile/socket.c: TCP declarations are in winsock.h on Windows.
>        * libguile/timegm.c: MinGW doesn't include mktime so include mktime.c to
>          provide it.

The portability layer in lib/ comes from the Gnulib project:

  https://gnu.org/s/gnulib

Could you check whether the issue is fixed there in current Git
‘master’, and if not report it to bug-gnulib <at> gnu.org?

Thank you,
Ludo’.




This bug report was last modified 5 years and 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.