From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C1DA1389EC2F; Mon, 21 Nov 2022 07:25:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1DA1389EC2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669015541; bh=fc16Ai6LVu5kWPiRpE+x0hWNE/b/g2kHJ8bWZttXCDY=; h=From:To:Subject:Date:From; b=DKYqln33U8Vt8HngpPop7lGsSbx8C5sRHGIoka531GZHluH9s62T9SSlbE+ZZkp9q Jgcn5PJLQgQnA5iTZdHgNynkqLsc4bWe2l0p2Kp5C7vlOo8AcrZxj3p6m2x0qNM3Nc cIPrkipLCG1ufoAL4BwArZV1VkbV3rm1t2ehpNbs= From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107780] New: strchrnul' was not declared in this scope; did you mean 'strchr'? For contracts for canadian compilation Date: Mon, 21 Nov 2022 07:25:32 +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=3D107780 Bug ID: 107780 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=