From nobody Sat Jan 7 21:15:16 2023 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 4NqCfD33Rfz2p7vy for ; Sat, 7 Jan 2023 21:15:16 +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 4NqCfD18qHz3stZ for ; Sat, 7 Jan 2023 21:15:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673126116; 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=uEny//+z9oSdhlF8vhEXVPvxFhcy5nsq2iSxvhSLkko=; b=HQTqPqxaZUdUQlFmGxfi3Ri6jUUCybuZCRYNVURCcxxN4wGIT5azpZ6uU6zO5ZCNE744d9 sUvzAG8WD69EsXI+/318BToL2bSoVN2EjcRdkf3bJlsU7jF1ueGiwHqPNtMUzfIovRt2/J M1GSPetKuDYBlL6WOvifKOY5AuBlBtMUtTM6bBIKo7cStAapcs31kYUHkbSAjmgHqwRpUT bP4N0mjWTcdrzuyCeN8syWlkc057be3tWb2U0vOPTutquBJ6qDjgWp7hSOykQLaKTFb4Yc 6q6UgrqSFu4LWWUMj66gQit9m16/qdDOeTHxj5nk0kbQ+npSZnSZmyyCZsQmuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673126116; a=rsa-sha256; cv=none; b=LCfipOEESHLt33vTH4vI7XESFAOFbjv/n30KHe46d4MY+u65cwVFH54zaM4tj7qii9w6uG nf4bz0o76/h4Ty8kpfSDpjID1LFvrtmak/aYnJ93PTo+1Jo/8muYjQ9Htx+3we0UeWPM2X TEHCQwXyoB0uHC8I+D6SYWb70p69vgnsWeYAuJszklH94c4gYKISGwJKOV8lwjJ18I9qGB f6idIaYF7/aHBExy5D+jwhMsrnFekaliSAHR8zFFiq/D9CjTJTp8DR1f0AXqfWgkihm3Q/ Gsr5zcaQbczPgD61kuFZ8WF/FonLC4BWw2c8InBUQD6mY46m2wXZpU1k1Wh0ug== 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 4NqCfD0DcmzPPB for ; Sat, 7 Jan 2023 21:15:16 +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 307LFF2k082419 for ; Sat, 7 Jan 2023 21:15:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 307LFFB5082418 for standards@FreeBSD.org; Sat, 7 Jan 2023 21:15:15 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 268820] index C++ variable overloading Date: Sat, 07 Jan 2023 21:15:16 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: cppleo@ya.ru 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268820 Bug ID: 268820 Summary: index C++ variable overloading Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: cppleo@ya.ru The STL header require strings.h header. In this header you can see index variable. Variable can't be named without `_` in STL by C++ Standards= .=20 I can't compile my C++ project, because I use `index` variable too. So, file `1.cpp`: ``` #include std::string index; int main() { } ``` Compile: c++ 1.cpp And I've got an error! --=20 You are receiving this mail because: You are the assignee for the bug.=