From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1720) id 8D5743858D28; Sun, 20 Nov 2022 20:09:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D5743858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668974964; bh=Ic0Y3oZ1b1LssgYqLFtFJLcRmlMD3o48wqwRGOTkVQk=; h=From:To:Subject:Date:From; b=NDkiysaf1uZDAZC8eBYNAwQPYga0eu2IUq3ZTW/VXZZKNL8B+hamXpsiDZXziM2yu 0NdLBxgZk1gd0tvd4zWEtt5fnN2uD0DBpMP/53N4goKsuOb/MmsVcxo/cnYnCi2NBN +mGN1xU2b4v4FbFgT6uQDow/z4tu/RQDwT4PMLb4= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Francois Dumont To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-4178] libstdc++: Add std qualification on isxdigit calls X-Act-Checkin: gcc X-Git-Author: =?utf-8?q?Fran=C3=A7ois_Dumont?= X-Git-Refname: refs/heads/master X-Git-Oldrev: 1ad735dbfcce07dd913f82308619324171825c58 X-Git-Newrev: a16a5460447eaaff0b4468064e4d7b1cc8fc42eb Message-Id: <20221120200924.8D5743858D28@sourceware.org> Date: Sun, 20 Nov 2022 20:09:24 +0000 (GMT) List-Id: https://gcc.gnu.org/g:a16a5460447eaaff0b4468064e4d7b1cc8fc42eb commit r13-4178-ga16a5460447eaaff0b4468064e4d7b1cc8fc42eb Author: François Dumont Date: Sat Nov 19 13:51:45 2022 +0100 libstdc++: Add std qualification on isxdigit calls Those qualifications are needed in _GLIBCXX_INLINE_VERSION mode because in symbols are not put in versioned namespace. libstdc++-v3/ChangeLog * include/std/format: Add std qualification on isxdigit calls. Diff: --- libstdc++-v3/include/std/format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/include/std/format b/libstdc++-v3/include/std/format index 561ae161d16..7ae58eb2416 100644 --- a/libstdc++-v3/include/std/format +++ b/libstdc++-v3/include/std/format @@ -1537,7 +1537,7 @@ namespace __format if (__trailing_zeros) { - if (!isxdigit(__s[0])) + if (!std::isxdigit(__s[0])) --__sigfigs; __z = __prec - __sigfigs; } @@ -1627,7 +1627,7 @@ namespace __format { __fill_char = _CharT('0'); // Write sign before zero filling. - if (!isxdigit(__narrow_str[0])) + if (!std::isxdigit(__narrow_str[0])) { *__out++ = __str[0]; __str.remove_prefix(1);