[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MingW cross-compilation problems after last GDB's gnulib update
From: |
Sergio Durigan Junior |
Subject: |
MingW cross-compilation problems after last GDB's gnulib update |
Date: |
Thu, 30 Aug 2018 12:26:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi there,
I'm starting this thread to report another problem found after the
update of GDB's gnulib copy. This one happens when cross-compiling for
mingw32. You can see the compilation failure here:
https://sergiodj.net/~sergio/gdb-mingw32-err.txt
A small excerpt, in case you don't feel like visiting the link above:
build-gnulib/import/wctype.h: In member function
'gnulib::_gl_iswalnum_wrapper::operator gnulib::_gl_iswalnum_wrapper::type()
const':
build-gnulib/import/wctype.h:856:1: error: invalid conversion from 'int
(*)(wint_t) {aka int (*)(short unsigned int)}' to
'gnulib::_gl_iswalnum_wrapper::type {aka int (*)(unsigned int)}' [-fpermissive]
_GL_CXXALIAS_SYS (iswalnum, int, (wint_t wc));
^
The file that triggers this error is located at
gdb/unittests/string_view-selftests.c, and it uses:
#define GNULIB_NAMESPACE gnulib
But I'm not sure if this has an impact on the bug. I'm reporting this
problem early; I still have to investigate it further, but I thought I'd
also ask here in case someone has an idea.
If you need instructions on how to reproduce the problem, please let me
know.
Thanks in advance,
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- MingW cross-compilation problems after last GDB's gnulib update,
Sergio Durigan Junior <=