[PATCH, PR56193] - Wrong test operator for basic_ios in C++11
Václav Zeman
vhaisman@gmail.com
Sun Feb 10 19:12:00 GMT 2013
On 02/07/2013 03:34 PM, Ed Smith-Rowland wrote:
> On 02/07/2013 04:18 AM, Jonathan Wakely wrote:
>> On 7 February 2013 03:05, Ed Smith-Rowland wrote:
>>> greetings,
>>>
>>> On SO someone noticed that g++ still has in the basic_ios class
>>> operator void*();
>>> instead of
>>> explicit operator bool() const;
>>> The old C++98 operator allows things like
>>> std::cout << std::cout;
>>>
>>> This patch changes the stream test operator for C++11 and onwards.
>>>
>>> This patch builds and tests clean on x86_64-unknown-linux.
>> Please use -std=gnu++11 in the test's dg-options and CC the
>> gcc-patches list too.
>> OK for trunk with that change, thanks.
>>
> Attached patch applied.
>
I believe that this patch is breaking my log4cplus builds with GCC 4.8.
Is this patch not missing linker exports file change that would actually
export the newly added operator bool()?
--
VZ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20130210/5b870948/attachment.sig>
More information about the Libstdc++
mailing list