This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix two libstdc++ test failures with -std=gnu++14


On 16/06/15 22:18 +0200, François Dumont wrote:
On 12/06/2015 01:22, Jonathan Wakely wrote:
This fixes two test failures when the default compiler mode is
-std=gnu++14

FAIL: 25_algorithms/headers/algorithm/synopsis.cc (test for excess
errors)
FAIL: ext/profile/mutex_extensions_neg.cc (test for excess errors)

I don't really like the change to the synopsis.cc test, but I don't
think reproducing the SFINAE constraints in the test is ideal either.

The mutex_extensions_neg.cc test works now, but I think we're missing
specializations of __is_tuple_like_impl for __gnu_debug::array and
__gnu_profile::array.

Tested powerpc64le-linux, committed to trunk.

This patch introduced a regression in
20_util/tuple/creation_functions/tuple_cat.cc in debug mode.

Yes, I noticed this today while testing some changes to <debug/list>,
but hadn't had time to do anything about it, so thanks for taking care
of it.

Attached is a proposal to fix it properly. I am using <utility> as a
pivot header between <tuple> and <array>. This way <tuple> do not need
to include <array> anymore.

I think that's a good improvement.

It also adds missing version namespace macro in debug and profile headers.

Not tested yet as I would like to know first if it ok to do it this way.

Looks good to me.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]