Re: warnings about unused shared_ptr/unique_ptr comparisons

2019-01-14 Thread Jonathan Wakely
On 14/01/19 16:53 +0100, Ulrich Drepper wrote: This is a conservative implementation of a patch to make shared/unique_ptrs behave more like plain old pointers. More about this in bug #88738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88738 The summary is - using clang, which enables a warnin

Re: warnings about unused shared_ptr/unique_ptr comparisons

2019-01-14 Thread Kyrill Tkachov
On 14/01/19 15:53, Ulrich Drepper wrote: This is a conservative implementation of a patch to make shared/unique_ptrs behave more like plain old pointers. More about this in bug #88738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88738 The summary is - using clang, which enables a warning for

warnings about unused shared_ptr/unique_ptr comparisons

2019-01-14 Thread Ulrich Drepper
This is a conservative implementation of a patch to make shared/unique_ptrs behave more like plain old pointers. More about this in bug #88738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88738 The summary is - using clang, which enables a warning for unused results of all comparison operation,