From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA335389EC5F; Mon, 21 Nov 2022 07:25:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA335389EC5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669015556; bh=NMjg79jd0Y4oAz6JGk7exKppJdll+j6GCR3n/+mfToY=; h=From:To:Subject:Date:From; b=d2nga3TkvqtnPmzd66OVyemUDXl35DTJSbXmhbDTuZN5rp5X/xIhz8DCSCz9i4/uG 7jytVbbvYPMxsQCnlQt7mMwchocwIr/9PIMb7H7zMuEo7dJuBE3u7uWzNDTj+GdVLK g3ZE0UXK2jX0NX5R6qoO+V98mW44i1XgVQ9lwEW4= From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107781] New: strchrnul' was not declared in this scope; did you mean 'strchr'? For contracts for canadian compilation Date: Mon, 21 Nov 2022 07:25:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: unlvsur at live dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D107781 Bug ID: 107781 Summary: strchrnul' was not declared in this scope; did you mean 'strchr'? For contracts for canadian compilation Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- I do canadian compilation and it fails due to contracts.cc ../../../../../gcc/gcc/cp/contracts.cc: In function 'bool role_name_equal(c= onst char*, const char*)': ../../../../../gcc/gcc/cp/contracts.cc:213:21: error: 'strchrnul' was not declared in this scope; did you mean 'strchr'? 213 | size_t role_len =3D strchrnul (role, ':') - role; | ^~~~~~~~~ | strchr=