public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [v3] libstdc++/56627
@ 2013-07-31 14:56 Paolo Carlini
  0 siblings, 0 replies; only message in thread
From: Paolo Carlini @ 2013-07-31 14:56 UTC (permalink / raw)
  To: gcc-patches; +Cc: libstdc++

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

Hi,

if you don't have anything better to do, plenty of details in the audit 
trail. Tested x86_64-linux, committed mainline and 4_8-branch.

Thanks,
Paolo.

////////////////////

[-- Attachment #2: CL_56627 --]
[-- Type: text/plain, Size: 252 bytes --]

2013-07-31  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/56627
	* include/bits/stl_bvector.h: Use friend struct hash intead of
	friend class hash to work around useless warnings produced by
	some compilers.
	* include/std/bitset: Likewise.

[-- Attachment #3: patch_56627 --]
[-- Type: text/plain, Size: 807 bytes --]

Index: include/bits/stl_bvector.h
===================================================================
--- include/bits/stl_bvector.h	(revision 201368)
+++ include/bits/stl_bvector.h	(working copy)
@@ -528,7 +528,7 @@ template<typename _Alloc>
     typedef _Bvector_base<_Alloc>			 _Base;
 
 #if __cplusplus >= 201103L
-    template<typename> friend class hash;
+    template<typename> friend struct hash;
 #endif
 
   public:
Index: include/std/bitset
===================================================================
--- include/std/bitset	(revision 201368)
+++ include/std/bitset	(working copy)
@@ -760,7 +760,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
       }
 
 #if __cplusplus >= 201103L
-      template<typename> friend class hash;
+      template<typename> friend struct hash;
 #endif
 
     public:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-31 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-31 14:56 [v3] libstdc++/56627 Paolo Carlini

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).