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: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>,
Christos Zoulas <christos%zoulas.com@localhost>
Cc:
Subject: Re: toolchain/54411: std::locale broken
Date: Sat, 27 Jul 2019 23:33:54 +0200
Didn't build:
In file included from /usr/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/localefwd.h:40:0,
from /usr/obj/amd64.gcc.20190727/usr/include/g++/ios:41,
from /usr/obj/amd64.gcc.20190727/usr/include/g++/istream:38,
from /usr/obj/amd64.gcc.20190727/usr/include/g++/fstream:38,
from /usr/src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/globals_io.cc:24:
/usr/obj/amd64.gcc.20190727/usr/include/g++/bits/c++locale.h: In function 'int std::__convert_from_v(int* const&, char*, int, const char*, ...)':
/usr/obj/amd64.gcc.20190727/usr/include/g++/bits/c++locale.h:64:36: error: 'uselocale' was not declared in this scope
__c_locale __old = (__c_locale)uselocale((locale_t)__cloc);
^~~~~~~~~
/usr/obj/amd64.gcc.20190727/usr/include/g++/bits/c++locale.h:64:36: note: suggested alternative: 'setlocale'
__c_locale __old = (__c_locale)uselocale((locale_t)__cloc);
^~~~~~~~~
setlocale
Home |
Main Index |
Thread Index |
Old Index