Patchwork [v3] Add constexpr specifiers to std::shared_ptr, std::unique_ptr, etc

login
register
mail settings
Submitter Paolo Carlini
Date Nov. 9, 2010, 10:22 a.m.
Message ID <4CD92100.9050303@oracle.com>
Download mbox | patch
Permalink /patch/70522/
State New
Headers show

Comments

Paolo Carlini - Nov. 9, 2010, 10:22 a.m.
On 11/09/2010 11:06 AM, Jonathan Wakely wrote:
> Apologies - I had another change in my tree which
> I haven't committed yet and thought the weak_ptr test failure was
> related to that.  Thanks Paolo for fixing it.
>   
No problem. I'm attaching below the trivial fix.

Paolo.

PS: Jason fixed 46382!

/////////
2010-11-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/46385
	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
	line number.

Patch

Index: testsuite/20_util/weak_ptr/comparison/cmp_neg.cc
===================================================================
--- testsuite/20_util/weak_ptr/comparison/cmp_neg.cc	(revision 166475)
+++ testsuite/20_util/weak_ptr/comparison/cmp_neg.cc	(working copy)
@@ -43,7 +43,7 @@ 
 
 // { dg-warning "note" "" { target *-*-* } 350 }
 // { dg-warning "note" "" { target *-*-* } 1082 }
-// { dg-warning "note" "" { target *-*-* } 467 }
+// { dg-warning "note" "" { target *-*-* } 462 }
 // { dg-warning "note" "" { target *-*-* } 580 }
 // { dg-warning "note" "" { target *-*-* } 1027 }
 // { dg-warning "note" "" { target *-*-* } 340 }