From patchwork Thu Oct 6 01:41:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 117947 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id E59EFB700E for ; Thu, 6 Oct 2011 12:43:51 +1100 (EST) Received: (qmail 23389 invoked by alias); 6 Oct 2011 01:43:45 -0000 Received: (qmail 23372 invoked by uid 22791); 6 Oct 2011 01:43:43 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, TW_CX X-Spam-Check-By: sourceware.org Received: from rcsinet15.oracle.com (HELO rcsinet15.oracle.com) (148.87.113.117) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 06 Oct 2011 01:43:28 +0000 Received: from ucsinet23.oracle.com (ucsinet23.oracle.com [156.151.31.71]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p961hPx0030000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 6 Oct 2011 01:43:27 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet23.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p961hOZY019809 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Oct 2011 01:43:25 GMT Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p961hJEI025426; Wed, 5 Oct 2011 20:43:19 -0500 Received: from [192.168.1.4] (/79.36.30.188) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 05 Oct 2011 18:43:19 -0700 Message-ID: <4E8D075C.9050106@oracle.com> Date: Thu, 06 Oct 2011 03:41:48 +0200 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110922 Thunderbird/7.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: libstdc++ Subject: [v3] Avoid pod_char_traits.h warnings in C++0x mode X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, committed to mainline. Paolo. //////////////////// 2011-10-05 Paolo Carlini * include/ext/pod_char_traits.h: Avoid warnings in C++0x mode when int_type is unsigned. 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 namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)