From patchwork Fri Nov 1 11:20:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 287791 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 34DEE2C0091 for ; Fri, 1 Nov 2013 22:20:24 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=oMAIiPaCPWCHhKJuwJYJPWXsXa2Deu3csVxwtDOdVlq ZeXsG01FAohiRHZboiNrMpkacdYZFlryypEWdRAlU2FoasUd2nR4Y5bVUNP1Cs/6 lbWsKO97uGt+MblHeLytDe4kuLp51xWFFUDrYkjhEbXhTSgj5QZOk7l6QPIRc7KE = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=jwoNDZdb60xZQrwbHqzf69+Htr0=; b=os+jEOGZ1IxZybxR5 DnoL/sRWrqlPXJvW9x0CjPGxk2i1N8X+JmyqKH3LcOWBJLlH95g8zpKsftOQQUh3 HaFZhzwi9quSDgRaYp4EP5KBCgZ+IaU1oucTBTurug4Z/KwwzrlM2j+5SYi2cPYh keC2lMsK1hKcdviH14aSTLrzb8= Received: (qmail 18046 invoked by alias); 1 Nov 2013 11:20:08 -0000 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 Received: (qmail 18023 invoked by uid 89); 1 Nov 2013 11:20:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS, UNPARSEABLE_RELAY autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: aserp1040.oracle.com Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 01 Nov 2013 11:20:07 +0000 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rA1BK4Qq006313 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 1 Nov 2013 11:20:05 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rA1BK3u4011309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Nov 2013 11:20:04 GMT Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rA1BK3VG019697; Fri, 1 Nov 2013 11:20:03 GMT Received: from poldo4.casa (/79.53.21.112) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 01 Nov 2013 04:20:03 -0700 Message-ID: <52738E61.3080202@oracle.com> Date: Fri, 01 Nov 2013 12:20:01 +0100 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: libstdc++ Subject: [v3] libstdc++/58952 X-IsSubscribed: yes Hi, a simple, very old, oversight. Committed mainline and 4_8-branch. Thanks, Paolo. ////////////////// 2013-11-01 Paolo Carlini PR libstdc++/58952 * include/c_global/cstdio: Undef getchar. Index: include/c_global/cstdio =================================================================== --- include/c_global/cstdio (revision 204289) +++ include/c_global/cstdio (working copy) @@ -69,6 +69,7 @@ #undef ftell #undef fwrite #undef getc +#undef getchar #if __cplusplus <= 201103L # undef gets #endif