[PATCH] PR libstdc++/85843 fix "should be explicitly initialized" warnings
Jason Merrill
jason@redhat.com
Mon May 21 03:52:00 GMT 2018
On Sun, May 20, 2018 at 7:50 PM, Jonathan Wakely <jwakely@redhat.com> wrote:
> PR libstdc++/85843
> * src/c++11/cow-stdexcept.cc (logic_error, runtime_error): Explicitly
> initialize base class to avoid warnings.
And this patch fixes the warning to treat defaulted constructors the
same as implicitly-declared constructors.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 85843.diff
Type: text/x-patch
Size: 1566 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20180521/d6787fcd/attachment.bin>
More information about the Libstdc++
mailing list