Re: The std::to_string problem is back

Keith Marshall <[email protected]>
Newsgroups gmane.comp.gnu.mingw.user
Organization MinGW.org Project
Message-ID <[email protected]>
On 18/04/19 14:40, Eli Zaretskii wrote:
> With GCC 8.2.0, the problem with using std::to_string is back, with a
> vengeance.  The following toy program, posted by Keith almost 2 years
> ago:
> 
>   #include <string>
>   int main() { std::to_string(10); }
> 
> compiles cleanly with MinGW GCC 7.3.0, but fails with GCC 8.2.0:
                                             ^^^^^^^^^^^^^^^^^^^^

Sorry, but I cannot reproduce this; that toy program compiles cleanly,
both with my production (Linux-hosted) mingw32-g++ cross-compiler, and
with a freshly installed (VirtualBox Win7 hosted) native g++-8.2.0:

$ g++ --version
g++.exe (MinGW.org GCC-8.2.0-3) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

$ echo '#include <string>
> int main() { std::to_string(10); }' | g++ -xc++ -c -fsyntax-only -
[--- no output here ---]

mingwrt and w32api are both v5.2.1; the entire VM installation is clean,
unmodified, as installed by mingw-get (today).

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJcuMGdAAoJEMCtNsY0flo/WU8P/RPZPr3hO93/Y3YpOjmecRwy
hr5b62SJDXmHswAsdSXbER+H/2z+5LRuEkOHBw4ij2R46Bq6Uk1mSWXYZ9Lr/uFZ
uJA4t7rogyNmOvPlAt01ALDWE+K2sYlrR49ERLloDwQVRUBIGoHmMp1Lmzsy9aVl
ep22mQ8AjNGbRO7TVZKvRBdKWO9H5wwLzUkBt72m9agcUt5Jm5e+gYmNYBcUPDhh
6RFartolI/A/fk6IaIchb4IRXj0GK5037CfVGXCql9oO2Tryu51s9gUgpZ8zZ+y5
78CiSvOraK5HyDfS6hbZZdPOYQkSKUB2o5np2h1cH+RkWMeGQOyHGgxlBcMziyl8
beHWm3owMorC4REOn32iecyfqh0YoRyMFqO/79fcNjnu6D41XFp5Fjsiw/kosGFo
74aZ0BRoYjtwL8cR+3rkCO/3XSCbZHquC6jK6zslmfqI07q9dVOHCFkVEP6buepD
OHZq5ejv939AGTwUTjA+VHeTSiMb3aBxFU7X21+9kk9k1FCpgPr6ZG11cXHB7ae7
B2MWNcvETYc516xU5qlO37S+KrdbPjPQb9sg6HgfY39iuOyBepudM7TkHwKuXgvA
Y9UhK2zuTrtJGCkjiAdhv+UJiXSmh8VyfNlYuEAWOQIlLPaJGbI+IRpZza3zaWvz
02itGZUSa2fORAdIPqhn
=0OWV
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.