From nobody Fri May 27 20:19:37 2022 X-Original-To: standards@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5E8B11B5A081 for ; Fri, 27 May 2022 20:19:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L8x3s0fvFz3GYd for ; Fri, 27 May 2022 20:19:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E729C28FFF for ; Fri, 27 May 2022 20:19:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24RKJaKS031069 for ; Fri, 27 May 2022 20:19:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24RKJa0u031068 for standards@FreeBSD.org; Fri, 27 May 2022 20:19:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 264297] _POSIX_C_SOURCE=200809L causes failure in #include Date: Fri, 27 May 2022 20:19:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653682777; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=htRj2YnXcU66+y3DW25ihVE/mNTu5WhGwTmuKxhh82E=; b=fZUfr3oFmvHC3goVIZufIXzP5aJAaY9fWwixIod9pBXuF5NEElshPFoK7P8ngxB9pgcbuh 47f0JrRghCPdChsF6lmy+M5GhQaXbND7lTQrVZY2MnyQPAFf2rIXQUbrlJaOUXJed4i5DY 1Vvi8SOCxpqBAKtg9BXp2CYgSeowYGmeISWK3rXPCOGsYW5Wu1124Kau0/C3NOubcXjWed lpn4yeTgoAPThM2ooVJ5Ev5jyBr5ng9CBDmiXL4NZ6itqJUgyVGDM7tums38QFxuxeBNeU 6pBFqZwVpAen0fR7K69l1IEfg7byALpZ8YY24zLaNZ4jIdpamhGmtGzaWcTs7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653682777; a=rsa-sha256; cv=none; b=WG4Evjz4GEVCKbaS+3RpNRowr4rOR75xSkXGocdADK3PpG8yk+Pnjg/kM8s/g0NmXe9PIE 93Pf/6hNQBkI9YU0Z2watdCPaNOGDPwYiP1/l0SaHYxL8+kAWAB2aWUZspnzUCIXLVrICg MHGT4BFm1iDWEYEHjrfZ8r7LCN0SyQC+1oV4rXK2pKj4119bsHsQAh/UTjCivN30XR2hgH s1LH1SnKDxM9yT05+kuWW6HXqFrr1prcn5BTOKcZypYPgAoYowRypaVuluM9BeVoQkNKZs oJ26bCvyHOiX6KtPP6kfbQktGHhMfxaJCNFKQuNdvKprGbf036czb11dU/xi0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264297 Bug ID: 264297 Summary: _POSIX_C_SOURCE=3D200809L causes failure in #include Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: yuri@freebsd.org This code: > #define _POSIX_C_SOURCE 200809L > #include fails: $ c++ x.cpp=20 In file included from x.cpp:3: In file included from /usr/include/c++/v1/sstream:184: In file included from /usr/include/c++/v1/istream:163: In file included from /usr/include/c++/v1/ostream:138: In file included from /usr/include/c++/v1/ios:214: /usr/include/c++/v1/__locale:637:16: error: use of undeclared identifier 'isascii' return isascii(__c) ? (__tab_[static_cast(__c)] & __m) !=3D0 : false; ^ /usr/include/c++/v1/__locale:644:22: error: use of undeclared identifier 'isascii' *__vec =3D isascii(*__low) ? __tab_[static_cast(*__low)] := 0; ^ /usr/include/c++/v1/__locale:652:17: error: use of undeclared identifier 'isascii' if (isascii(*__low) && (__tab_[static_cast(*__low)] & __m)) ^ /usr/include/c++/v1/__locale:661:19: error: use of undeclared identifier 'isascii' if (!(isascii(*__low) && (__tab_[static_cast(*__low)] & __= m))) ^ 4 errors generated. --=20 You are receiving this mail because: You are the assignee for the bug.=