https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107780
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(const 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 = strchrnul (role, ':') - role; | ^~~~~~~~~ | strchr