]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pod_char_traits.h: Avoid warnings in C++0x mode when int_type is unsigned.
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 6 Oct 2011 01:41:49 +0000 (01:41 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 6 Oct 2011 01:41:49 +0000 (01:41 +0000)
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.

From-SVN: r179587

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/pod_char_traits.h

index 88d1d1b1188a99ef39eb46981cbc358a01f11f94..aee8b04f96288f14bcdcbc61f1a599515bc0aeff 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2011-10-04  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR libstdc++/49561
index 3c9f0988a688ad37868bc431afb4f455aee72700..568af4b05b4c34f5f620cc2e0600549f20d50bd4 100644 (file)
@@ -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)