aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2011-10-06 01:41:49 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2011-10-06 01:41:49 +0000
commit57d1eadd79297e4642ee402a58690e98850cf649 (patch)
treedeb2b34cca15d413f3b02bc127ac336262720bb6 /libstdc++-v3
parente82598558d8d7a62b9921f8865743a5a28a0db51 (diff)
downloadgcc-57d1eadd79297e4642ee402a58690e98850cf649.zip
gcc-57d1eadd79297e4642ee402a58690e98850cf649.tar.gz
gcc-57d1eadd79297e4642ee402a58690e98850cf649.tar.bz2
pod_char_traits.h: Avoid warnings in C++0x mode when int_type is unsigned.
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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/ext/pod_char_traits.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 88d1d1b..aee8b04 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/libstdc++-v3/include/ext/pod_char_traits.h b/libstdc++-v3/include/ext/pod_char_traits.h
index 3c9f098..568af4b 100644
--- a/libstdc++-v3/include/ext/pod_char_traits.h
+++ b/libstdc++-v3/include/ext/pod_char_traits.h
@@ -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)