[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/28417] std::string no longer allows accepting nullptr_t since
From: |
euloanty at live dot com |
Subject: |
[Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++. |
Date: |
Tue, 05 Oct 2021 03:58:41 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28417
--- Comment #2 from cqwrteur <euloanty at live dot com> ---
Here is another problem.
../../../../binutils-gdb/gold/incremental.cc:2289:12: error: use of deleted
function 'std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::basic_string(std::nullptr_t) [with _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>; std::nullptr_t =
std::nullptr_t]'
2289 | return NULL;
| ^~~~
In file included from
/home/cqwrteur/cross/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.0.0/string:53,
from ../../../../binutils-gdb/gold/options.h:43,
from ../../../../binutils-gdb/gold/incremental.cc:30:
/home/cqwrteur/cross/x86_64-w64-mingw32/x86_64-w64-mingw32/include/c++/12.0.0/bits/basic_string.h:626:7:
note: declared here
626 | basic_string(nullptr_t) = delete;
| ^~~~~~~~~~~~
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/28417] New: std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., euloanty at live dot com, 2021/10/04
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., euloanty at live dot com, 2021/10/04
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., euloanty at live dot com, 2021/10/04
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++.,
euloanty at live dot com <=
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., euloanty at live dot com, 2021/10/05
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., jwakely.gcc at gmail dot com, 2021/10/05
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., mliska at suse dot cz, 2021/10/06
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., mliska at suse dot cz, 2021/10/14
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., jwakely.gcc at gmail dot com, 2021/10/14
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., amodra at gmail dot com, 2021/10/14
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., jwakely.gcc at gmail dot com, 2021/10/14
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., euloanty at live dot com, 2021/10/15
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., jwakely.gcc at gmail dot com, 2021/10/15
- [Bug gold/28417] std::string no longer allows accepting nullptr_t since it is undefined behavior after yesterday's change on libstdc++., cvs-commit at gcc dot gnu.org, 2021/10/20