From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2C9E83858C54; Mon, 27 Mar 2023 16:13:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2C9E83858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679933602; bh=cOkwzAGENAFOYL2LIDJCPZiBydNCsjR/OrdUIUwlfSQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nEAUJszOBPIeActPZUQFSRzKnLqwjjqfAqlD29Y/UU7oKL8aW9rgsHc6W0HgJaFHE lgoaeX7eLT1K4I4dO64p50mhvUC615iHxbvGznZdFTfSyNhxQF9nwXlkMRhlU3Qcun OkBR6FuPPZklAlWf4l3PnzlCOXEwFzC3AVzesur8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/109293] [12/13 Regression] Missing memmem() prototype in fixincludes/fixfixes.c on Windows/MinGW-W64 Date: Mon, 27 Mar 2023 16:13:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: xry111 at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109293 --- Comment #3 from Andrew Pinski --- (In reply to Xi Ruoyao from comment #2) > I'll make a patch to check if memmem is declared in configure.ac. memmem= is > not a POSIX function, so it may be undeclared on systems other than MinGW= as > well. memmem is included in libiberty so it is more just about the prototype not being declared.=