Send MinGW-Notify mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."
Please do not reply to this notification; the sender address is unable to
accept incoming e-mail. If you wish to unsubscribe you can do so at
https://lists.osdn.me/mailman/listinfo/mingw-notify.
Today's Topics:
1. [mingw] #39674: Problem Installing MinGW (MinGW Notification List)
2. [mingw] #39674: Problem Installing MinGW (MinGW Notification List)
3. [mingw] #39677: Compilation of gettext-0.20.1 fails with
"conflicting types for '_findclose'" error (MinGW Notification List)
4. [mingw] #39677: Compilation of gettext-0.20.1 fails with
"conflicting types for '_findclose'" error (MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Mon, 14 Oct 2019 15:26:13 +0900
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39674: Problem Installing MinGW
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#39674: Problem Installing MinGW
Open Date: 2019-10-14 15:26
Last Update: 2019-10-14 15:26
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/39674
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39674
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2019-10-14 15:26 Updated by: atmax9
* New Ticket "Problem Installing MinGW" created
---------------------------------------------------------------------
Ticket Status:
Reporter: atmax9
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: (None)
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
Could someone please help me troubleshoot the process of me installing MinGW? I
keep trying to run mingw-get-setup, but it never downloads anything.
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/39674
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39674
------------------------------
Message: 2
Date: Mon, 14 Oct 2019 14:49:45 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39674: Problem Installing MinGW
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#39674: Problem Installing MinGW
Open Date: 2019-10-14 07:26
Last Update: 2019-10-14 14:49
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/39674
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39674
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2019-10-14 14:49 Updated by: keith
* Status Update from Open to Closed
* Resolution Update from None to Invalid
Comment:
Reply To atmax9
Could someone please help me troubleshoot the process of me installing
MinGW? I keep trying to run mingw-get-setup, but it never downloads
anything.
Seriously? This is neither a valid bug report, nor a feature request; it is a
plea for help, which should be directed to the mailing list. In any case, every
time someone has reported problems downloading with mingw-get, (or
mingw-get-setup), it has all worked flawlessly for me. The most likely cause of
such problems lies in the configuration of your own internet connection —
possibly a firewall, or proxy, blocking access?
---------------------------------------------------------------------
Ticket Status:
Reporter: atmax9
Owner: (None)
Type: Issues
Status: Closed
Priority: 5 - Medium
MileStone: (None)
Component: (None)
Severity: 5 - Medium
Resolution: Invalid
---------------------------------------------------------------------
Ticket details:
Could someone please help me troubleshoot the process of me installing MinGW? I
keep trying to run mingw-get-setup, but it never downloads anything.
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/39674
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39674
------------------------------
Message: 3
Date: Mon, 14 Oct 2019 17:47:04 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39677: Compilation of gettext-0.20.1
fails with "conflicting types for '_findclose'" error
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#39677: Compilation of gettext-0.20.1 fails with "conflicting types for
'_findclose'" error
Open Date: 2019-10-14 17:47
Last Update: 2019-10-14 17:47
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/39677
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39677
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2019-10-14 17:47 Updated by: keith
* New Ticket "Compilation of gettext-0.20.1 fails with "conflicting types for
'_findclose'" error" created
---------------------------------------------------------------------
Ticket Status:
Reporter: keith
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: WSL
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
When compiling GNU gettext-0.20.1 with GCC-8.2.0 and mingwrt-5.2.2, I see:
mingw32-gcc -DLOCALEDIR=\"/mingw/share/locale\"
-DBISON_LOCALEDIR=\"/usr/share/locale\"
-DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJAVA=1
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DEXEEXT=\".exe\"
-DHAVE_CONFIG_H -I. -I../../../src/gettext-0.20.1/gettext-tools/src -I.. -I.
-I../../../src/gettext-0.20.1/gettext-tools/src -I..
-I../../../src/gettext-0.20.1/gettext-tools
-I../../../src/gettext-0.20.1/gettext-tools/libgrep -I../gnulib-lib
-I../../../src/gettext-0.20.1/gettext-tools/gnulib-lib -I../intl
-I../../../src/gettext-0.20.1/gettext-tools/../gettext-runtime/intl
-DINSTALLDIR=\"/mingw/bin\" -I/mingw/include -g -O2 -c -o msgfmt-write-qt.o
`test -f 'write-qt.c' || echo
'../../../src/gettext-0.20.1/gettext-tools/src/'`write-qt.c
In file included from ../gnulib-lib/sys/stat.h:542,
from ../gnulib-lib/fcntl.h:58,
from
../../../src/gettext-0.20.1/gettext-tools/gnulib-lib/binary-io.h:22,
from
../../../src/gettext-0.20.1/gettext-tools/src/write-qt.c:43:
/home/keith/mingw32-gcc-8.2.0/include/io.h:484:38: error: conflicting types for
'_findclose'
_CRTIMP __cdecl __MINGW_NOTHROW int _findclose (intptr_t);
^~~~~~~~~~
In file included from /home/keith/mingw32-gcc-8.2.0/include/wchar.h:254,
from ../gnulib-lib/wchar.h:87,
from /mingw/include/iconv.h:110,
from ../gnulib-lib/iconv.h:27,
from
../../../src/gettext-0.20.1/gettext-tools/src/po-charset.h:25,
from
../../../src/gettext-0.20.1/gettext-tools/src/write-qt.c:35:
/home/keith/mingw32-gcc-8.2.0/include/io.h:484:38: note: previous declaration
of '_findclose' was here
_CRTIMP __cdecl __MINGW_NOTHROW int _findclose (intptr_t);
^~~~~~~~~~
make[5]: *** [Makefile:3324: msgfmt-write-qt.o] Error 1
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/39677
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39677
------------------------------
Message: 4
Date: Mon, 14 Oct 2019 20:31:03 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39677: Compilation of gettext-0.20.1
fails with "conflicting types for '_findclose'" error
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#39677: Compilation of gettext-0.20.1 fails with "conflicting types for
'_findclose'" error
Open Date: 2019-10-14 17:47
Last Update: 2019-10-14 20:31
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/39677
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39677
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2019-10-14 20:31 Updated by: keith
Comment:
On the face of it, this is a puzzling failure ... the error message shows
identically the same declaration in both instances, so there really appears to
be no conflict! However, re-running the failing command, with the -E option in
place of -c, and the -o msgfmt-write-qt.o removed is rather more informative.
It may be noticed, even from the original error message, that <io.h> is
included twice; initially by GnuLib's "iconv.h" wrapper, via <wchar.h>, and
subsequently by GnuLib's "sys/stat.h" replacement. The first inclusion is
selective, exposing only the subset of <io.h> content which Microsoft require
to be exposed when including <wchar.h>, and thus, does not activate the _IO_H
repeat-inclusion guard; the second is normal (full) inclusion, which does
activate the _IO_H guard. The declaration of _findclose is exposed, supposedly
identically in both passes, as does indeed appear to be the case, from
inspection of the error message alone.
What isn't obvious, from the original error message, is that GnuLib introduces
a conflict between the first and second inclusions of <io.h>. It may be seen,
by inspection of the preprocessor output; during the first inclusion of <io.h>,
_findclose is declared (correctly) thus:
1. _CRTIMP __cdecl __MINGW_NOTHROW int _findclose (intptr_t);
However, by the time we get to the second inclusion, GnuLib has trashed the
preprocessor environment, by the introduction of:
1. typedef long int gl_intptr_t;
2. # define intptr_t gl_intptr_t
and thus, in the second pass through <io.h>, the declaration of _findclose
becomes:
1. _CRTIMP __cdecl __MINGW_NOTHROW int _findclose (gl_intptr_t);
and GCC (correctly) rejects the change in the declared type of the function's
argument.
---------------------------------------------------------------------
Ticket Status:
Reporter: keith
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: WSL
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
When compiling GNU gettext-0.20.1 with GCC-8.2.0 and mingwrt-5.2.2, I see:
mingw32-gcc -DLOCALEDIR=\"/mingw/share/locale\"
-DBISON_LOCALEDIR=\"/usr/share/locale\"
-DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJAVA=1
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DEXEEXT=\".exe\"
-DHAVE_CONFIG_H -I. -I../../../src/gettext-0.20.1/gettext-tools/src -I.. -I.
-I../../../src/gettext-0.20.1/gettext-tools/src -I..
-I../../../src/gettext-0.20.1/gettext-tools
-I../../../src/gettext-0.20.1/gettext-tools/libgrep -I../gnulib-lib
-I../../../src/gettext-0.20.1/gettext-tools/gnulib-lib -I../intl
-I../../../src/gettext-0.20.1/gettext-tools/../gettext-runtime/intl
-DINSTALLDIR=\"/mingw/bin\" -I/mingw/include -g -O2 -c -o msgfmt-write-qt.o
`test -f 'write-qt.c' || echo
'../../../src/gettext-0.20.1/gettext-tools/src/'`write-qt.c
In file included from ../gnulib-lib/sys/stat.h:542,
from ../gnulib-lib/fcntl.h:58,
from
../../../src/gettext-0.20.1/gettext-tools/gnulib-lib/binary-io.h:22,
from
../../../src/gettext-0.20.1/gettext-tools/src/write-qt.c:43:
/home/keith/mingw32-gcc-8.2.0/include/io.h:484:38: error: conflicting types for
'_findclose'
_CRTIMP __cdecl __MINGW_NOTHROW int _findclose (intptr_t);
^~~~~~~~~~
In file included from /home/keith/mingw32-gcc-8.2.0/include/wchar.h:254,
from ../gnulib-lib/wchar.h:87,
from /mingw/include/iconv.h:110,
from ../gnulib-lib/iconv.h:27,
from
../../../src/gettext-0.20.1/gettext-tools/src/po-charset.h:25,
from
../../../src/gettext-0.20.1/gettext-tools/src/write-qt.c:35:
/home/keith/mingw32-gcc-8.2.0/include/io.h:484:38: note: previous declaration
of '_findclose' was here
_CRTIMP __cdecl __MINGW_NOTHROW int _findclose (intptr_t);
^~~~~~~~~~
make[5]: *** [Makefile:3324: msgfmt-write-qt.o] Error 1
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/39677
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39677
------------------------------
Subject: Digest Footer
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
------------------------------
End of MinGW-Notify Digest, Vol 25, Issue 8
*******************************************