From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B00833858036; Wed, 6 Oct 2021 00:11:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B00833858036 From: "bruno at clisp dot org" To: gdb-prs@sourceware.org Subject: [Bug build/28413] string_view-selftests.c build error on macOS Date: Wed, 06 Oct 2021 00:11:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruno at clisp dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2021 00:11:14 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28413 Bruno Haible changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno at clisp dot org --- Comment #5 from Bruno Haible --- (In reply to Simon Marchi from comment #4) > /home/simark/src/binutils-gdb/gdb/../gdbsupport/common-defs.h:95: > ../gnulib/import/string.h:693:1: error: reference to overloaded function > could not be resolved; did you mean to call it? > _GL_CXXALIASWARN (memchr); > ^~~~~~~~~~~~~~~~~~~~~~~~~ On which platform do you see this? Gnulib's string.in.h protects this line = with # elif __GLIBC__ >=3D 2 _GL_CXXALIASWARN (memchr); # endif So, on macOS systems, there should be no '_GL_CXXALIASWARN (memchr);' invocation. --=20 You are receiving this mail because: You are on the CC list for the bug.=