diff mbox

[v3] Avoid pod_char_traits.h warnings in C++0x mode

Message ID 4E8D075C.9050106@oracle.com
State New
Headers show

Commit Message

Paolo Carlini Oct. 6, 2011, 1:41 a.m. UTC
Hi,

committed to mainline.

Paolo.

////////////////////
2011-10-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/ext/pod_char_traits.h: Avoid warnings in C++0x mode
	when int_type is unsigned.
diff mbox

Patch

Index: include/ext/pod_char_traits.h
===================================================================
--- include/ext/pod_char_traits.h	(revision 179582)
+++ include/ext/pod_char_traits.h	(working copy)
@@ -1,6 +1,7 @@ 
 // POD character, std::char_traits specialization -*- C++ -*-
 
-// Copyright (C) 2002, 2003, 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2002, 2003, 2004, 2005, 2007, 2009, 2010, 2011
+// Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,6 +33,8 @@ 
 #ifndef _POD_CHAR_TRAITS_H
 #define _POD_CHAR_TRAITS_H 1
 
+#pragma GCC system_header
+
 #include <string>
 
 namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)