From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121976 invoked by alias); 23 Oct 2019 16:18:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 121772 invoked by uid 89); 23 Oct 2019 16:18:14 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3 autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (207.211.31.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 23 Oct 2019 16:18:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571847491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=0UAIyiYxxeAEDUtE4zKcwHp3dqCR8YVuXMWX9T8kNY0=; b=Xdo4ESGxglBH6XyVT+r+J/wTtDbO+EkE/ErWbCfkDtawFpEamhI+IZlolH3S40OucQlSkU qDeGqtFHqYoMafcf/MyQtktuE4sMeOJZ8kzumROV7n7eREX5mZShqDjfb4sogW6lEKGGfT IJVsQf62VGV7lfZhCtWamojlX5CxaY4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-301-N5okjP_WPoWlhTR4UIinaA-1; Wed, 23 Oct 2019 12:18:09 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CCF4F107AD36; Wed, 23 Oct 2019 16:18:08 +0000 (UTC) Received: from localhost (unknown [10.33.36.149]) by smtp.corp.redhat.com (Postfix) with ESMTP id 772684128; Wed, 23 Oct 2019 16:18:08 +0000 (UTC) Date: Wed, 23 Oct 2019 16:18:00 -0000 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH] Qualify type names in Message-ID: <20191023161807.GA22536@redhat.com> MIME-Version: 1.0 X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.12.1 (2019-06-15) X-Mimecast-Spam-Score: 0 Content-Type: multipart/mixed; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline X-SW-Source: 2019-10/txt/msg01672.txt.bz2 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 136 * include/ext/throw_allocator.h (throw_allocator_base): Qualify size_t and ptrdiff_t. Tested powerpc64le-linux, committed to trunk. --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=WINDOWS-1252 Content-Disposition: attachment; filename="patch.txt" Content-Transfer-Encoding: quoted-printable Content-length: 958 commit a1dcc5b28035e241ac766c7699559f06b88f786c Author: Jonathan Wakely Date: Wed Oct 23 15:23:11 2019 +0100 Qualify type names in =20=20=20=20 * include/ext/throw_allocator.h (throw_allocator_base): Qualify size_t and ptrdiff_t. diff --git a/libstdc++-v3/include/ext/throw_allocator.h b/libstdc++-v3/incl= ude/ext/throw_allocator.h index f5da751eb69..a4b9fbc0176 100644 --- a/libstdc++-v3/include/ext/throw_allocator.h +++ b/libstdc++-v3/include/ext/throw_allocator.h @@ -796,8 +796,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION : public annotate_base, public _Cond { public: - typedef size_t size_type; - typedef ptrdiff_t difference_type; + typedef std::size_t size_type; + typedef std::ptrdiff_t difference_type; typedef _Tp value_type; typedef value_type* pointer; typedef const value_type* const_pointer; --vkogqOf2sHV7VnPd--