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/

Reply via email to