|
| From: | Tom Kacvinsky |
| Subject: | [bug #57406] mbsinit.c fails to compile with GCC 9.2.0 on MinGW-w64 (i686) |
| Date: | Fri, 13 Dec 2019 10:32:47 -0500 (EST) |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?57406>
Summary: mbsinit.c fails to compile with GCC 9.2.0 on
MinGW-w64 (i686)
Project: GNU gettext
Submitted by: tomkacvinsky
Submitted on: Fri 13 Dec 2019 03:32:45 PM UTC
Category: Build
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I see this error
gettext-runtime/gnulib-lib/mbsinit.c:61:28: error: invalid operands to binary
== (have 'mbstate_t' {aka 'const struct _Mbstatet'} and 'int')
When building gettext 0.20.1 on MinGW-w64 with GCC 9.2.0 for i686. I know the
problem is that we are trying to compare an int with a struct, which is not
supported in C. The interesting thing is that this does not happen on Linux
(possibly because the system gnulib is used). So I am not sure what to do.
The configure options were pretty bland (just --prefix and
--with-libiconv-prefix).
I did not run autogen.sh.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57406>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |