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
This commit is contained in:
Paolo Carlini 2011-10-06 01:41:49 +00:00 committed by Paolo Carlini
parent e82598558d
commit 57d1eadd79
2 changed files with 9 additions and 1 deletions

View 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

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