NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/54411: std::locale broken
The following reply was made to PR toolchain/54411; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: toolchain/54411: std::locale broken
Date: Sun, 28 Jul 2019 22:30:15 +0200
On Sun, Jul 28, 2019 at 08:46:10PM +0300, Christos Zoulas wrote:
> Ok, I put a new diff, and I committed all the dragonfly changes so they are not part of that diff anymore and you need to cvs update.
Now fails with:
/usr/src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/dragonfly/codecvt_members.cc:152:18: error: too few arguments to function 'size_t mbrtowc_l(wchar_t
*, const char*, size_t, mbstate_t*, locale_t)'
&__tmp_state), (locale_t)_M_c_locale_codecvt);
^
In file included from /usr/obj/amd64.gcc.20190728/usr/include/g++/cwchar:44:0,
from /usr/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/postypes.h:40,
from /usr/obj/amd64.gcc.20190728/usr/include/g++/iosfwd:40,
from /usr/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/localefwd.h:41,
from /usr/obj/amd64.gcc.20190728/usr/include/g++/locale:38,
from /usr/src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/dragonfly/codecvt_members.cc:32:
/usr/obj/amd64.gcc.20190728/usr/include/wchar.h:266:8: note: declared here
size_t mbrtowc_l(wchar_t * __restrict, const char * __restrict, size_t,
^~~~~~~~~
/usr/src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/dragonfly/codecvt_members.cc: In member function 'virtual int std::codecvt<wchar_t, char, __mbstate
_t>::do_length(std::codecvt<wchar_t, char, __mbstate_t>::state_type&, const extern_type*, const extern_type*, std::size_t) const':
/usr/src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/dragonfly/codecvt_members.cc:235:23: error: too few arguments to function 'size_t mbsnrtowcs_l(wcha
r_t*, const char**, size_t, size_t, mbstate_t*, locale_t)'
__max, &__state),
^
In file included from /usr/obj/amd64.gcc.20190728/usr/include/g++/cwchar:44:0,
from /usr/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/postypes.h:40,
from /usr/obj/amd64.gcc.20190728/usr/include/g++/iosfwd:40,
from /usr/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/localefwd.h:41,
from /usr/obj/amd64.gcc.20190728/usr/include/g++/locale:38,
from /usr/src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/dragonfly/codecvt_members.cc:32:
/usr/obj/amd64.gcc.20190728/usr/include/wchar.h:271:8: note: declared here
size_t mbsnrtowcs_l(wchar_t * __restrict, const char ** __restrict, size_t,
^~~~~~~~~~~~
Cheers,
Thomas
Home |
Main Index |
Thread Index |
Old Index