public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Dominique d'Humières" <dominiq@lps.ens.fr>
To: ville.voutilainen@gmail.com
Cc: gcc-patches <gcc-patches@gcc.gnu.org>, libstdc++@gcc.gnu.org
Subject: Re: [v3 PATCH] LWG 2510, make the default constructors of library tag types explicit.
Date: Wed, 11 Nov 2015 17:18:00 -0000	[thread overview]
Message-ID: <50707C06-EB02-4B6B-A84C-40204207C07B@lps.ens.fr> (raw)

Revision r230175

> 2015-11-10  Ville Voutilainen  <ville.voutilainen@gmail.com>
>
>     LWG 2510, make the default constructors of library tag types
>     explicit.
>     * include/bits/mutex.h (defer_lock_t, try_lock_t,
>     adopt_lock_t): Add an explicit default constructor.
>     * include/bits/stl_pair.h (piecewise_construct_t): Likewise.
>     * include/bits/uses_allocator.h (allocator_arg_t): Likewise.
>     * libsupc++/new (nothrow_t): Likewise.
>     * testsuite/17_intro/tag_type_explicit_ctor.cc: New.

 breaks bootstrap

libtool: compile:  /opt/gcc/build_w/./gcc/xgcc -shared-libgcc -B/opt/gcc/build_w/./gcc -nostdinc++ -L/opt/gcc/build_w/x86_64-apple-darwin14.5.0/libstdc++-v3/src -L/opt/gcc/build_w/x86_64-apple-darwin14.5.0/libstdc++-v3/src/.libs -L/opt/gcc/build_w/x86_64-apple-darwin14.5.0/libstdc++-v3/libsupc++/.libs -B/opt/gcc/gcc6w/x86_64-apple-darwin14.5.0/bin/ -B/opt/gcc/gcc6w/x86_64-apple-darwin14.5.0/lib/ -isystem /opt/gcc/gcc6w/x86_64-apple-darwin14.5.0/include -isystem /opt/gcc/gcc6w/x86_64-apple-darwin14.5.0/sys-include -I/opt/gcc/work/libstdc++-v3/../libgcc -I/opt/gcc/build_w/x86_64-apple-darwin14.5.0/libstdc++-v3/include/x86_64-apple-darwin14.5.0 -I/opt/gcc/build_w/x86_64-apple-darwin14.5.0/libstdc++-v3/include -I/opt/gcc/work/libstdc++-v3/libsupc++ -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -fvisibility-inlines-hidden -ffunction-sections -fdata-sections -frandom-seed=new_handler.lo -g -O2 -std=gnu++11 -c ../../../../work/libstdc++-v3/libsupc++/new_handler.cc  -fno-common -DPIC -D_GLIBCXX_SHARED -o new_handler.o
../../../../work/libstdc++-v3/libsupc++/new_handler.cc:37:39: error: converting to 'std::nothrow_t' from initializer list would use explicit constructor 'constexpr std::nothrow_t::nothrow_t()'
 const std::nothrow_t std::nothrow = { };
                                       ^
see https://gcc.gnu.org/ml/gcc-regression/2015-11/

Dominique

             reply	other threads:[~2015-11-11 17:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 17:18 Dominique d'Humières [this message]
2015-11-11 17:30 ` Jonathan Wakely
2015-11-12 14:23   ` Gerald Pfeifer
2015-11-12 14:27     ` Ville Voutilainen
2015-11-12 14:36     ` Jonathan Wakely
2015-11-12 16:13       ` Jonathan Wakely
2015-11-12 16:19         ` Gerald Pfeifer
  -- strict thread matches above, loose matches on Subject: below --
2015-11-10 20:01 Ville Voutilainen
2015-11-11 14:17 ` Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50707C06-EB02-4B6B-A84C-40204207C07B@lps.ens.fr \
    --to=dominiq@lps.ens.fr \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=libstdc++@gcc.gnu.org \
    --cc=ville.voutilainen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).