From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C6177384641C; Thu, 25 Apr 2024 11:58:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6177384641C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714046328; bh=+qGgzMLS9vofyA1+SDwn8FofhQuPp6zMIDepHrG0pSc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YmQOnJnM1hYjg7A8ootzICtu/PdLOCo4bBcjhxz7EDmS+2IirHArorNU6RfSayTOg 3MVXavIOuoxUce2NC59GG27FphsEy2K+huB+6HxEaQ4d2X/xEkdoN/EqAi8fp5mAt0 vgu6IOqoBYASKKUH6JggEu4/YQrl39uxlB/sUcrY= From: "r_new at rambler dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94753] -undef, c++20 and feature-test macros Date: Thu, 25 Apr 2024 11:58:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: r_new at rambler dot ru X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D94753 --- Comment #3 from r_new at rambler dot ru --- Don't know gcc code, but /* For C++11+ __cpp_constexpr and __cpp_static_assert should be defined. */ #if __cplusplus >=3D 201103L is not true. All standard predefined macros listed in chapter "16.8 Predefined macro nam= es" C++11 standard. But for C++20 it's true.=