DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49UGF2lV3318856 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Cqw7CRh8 X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC19E3858290 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1730304901; bh=aKTZe4Cf/JQph29NQAYj4LotIbQDSXdSW2cLNb58b5s=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Cqw7CRh8/wX5MN9hgitSLxp50kgQmLHt4wL2WktSJrBYQBYLQFo5twQ9SnC1oA2dS XrpnkPmpi2Jk/O/JdLKLHMq/4Sd0l/k0ht0fNQiz4UCg6w0fpXkR3jUwkCoarWMrjR /Kcbn6Fx5VSmpPuFIf1rv6CCRN1Kbg4dIdceqaVE= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1489D3858D28 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1489D3858D28 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730304876; cv=none; b=dtLRMDMn6bU/XHoomPKtkrH08+Fa/wcU2tyJa0o+tA1GBw/0AMcY3+mpUMBMpDRAeIWfvrzkn2Bukvp6wom3lywVl9D/C4EH3G7YO8iyiPygk9FaZenvCkWylZuXhQ88QGjWeAHToaINJSqfVRpHhUt438PFpik/JLuPCSmOYIc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730304876; c=relaxed/simple; bh=GoF9Wnfme1IjAg8Rk7BHglWjFRMEcCmZ7eMwT6wboGk=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=PMJulIf9vjsKM9mTyLn8Ia/4TMUWpa2IswgfIwJanUdmkW3B+Crlr7jpjiRyETp8WeknO+5Br3TMXTWGkj0g7wlyPsgDni4iC+Sxussa12v5b1fUH6fC8GAyjtr7gb8SnxZzmahxqJZd5B9JzyKAdgDx0PUdhYvd+npqDVcet2A= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730304872; x=1730909672; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aJDZBIcg5jUgaG/tDw77NI64NeF6YdO1cbTnc9OiuPo=; b=XOQsKkvQAwpOeSgT4CZB68cQ/A/g02rAPEjNmc723sEPr2OOBQadRKjyqYw1+ZhX36 Emob7HptZZi1U3QCgOMtzDKic/cZR9+hiwzcF6+AbR7nAFtsLu1FlpuqbvnBAYtguWws bhwzU+FTST6SnydOlSXkVv3Nq6CkwbJqz8FtUaKLKJiNEYn9qXFnQHnQgAyp+FjXvgXH RmhiErJJKGB8VZtwGfMD1fBptixR+AgpW05SMoRjt+cnj4JLkQfFPnDLFlXp8D7xbQUS XGHMUM7c5rlQD7Z0RosyS1GHFJDfN4H4o8YUdNLfDkjDNzVCMJaRhfF8iUcjF//TVfBl AcAQ== X-Gm-Message-State: AOJu0YzX2p1ZEcKZLQUDpq1Q8wV2d/McpGI2z8sT+0AcmxJ12pEKIHsM dQyojEvcCw6oQ2B/htTUvGwi3TxRPhExXQv9xSlmYaHWdX3T+oJdufkALw== X-Google-Smtp-Source: AGHT+IF0d/q526GjP5mxkm1vYeMfBLYS+6VYocA2vxh90hsFBEXjJHXlJPc9t/8EbeGFyQhwq9sZ5w== X-Received: by 2002:a17:907:2da9:b0:a99:c9a4:a4d5 with SMTP id a640c23a62f3a-a9de5f656dbmr1557556466b.29.1730304872469; Wed, 30 Oct 2024 09:14:32 -0700 (PDT) Message-ID: <764d17ab-a660-4e89-8fd3-175e93f11507@gmail.com> Date: Wed, 30 Oct 2024 17:14:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: g++ 12 -std=gnu++20 Content-Language: en-GB, hu To: cygwin AT cygwin DOT com References: <48e51b50-63db-4b14-b321-46942e40862e AT SystematicSW DOT ab DOT ca> <3805509C-51BA-46F9-95A3-007CE99B014A AT unified-streaming DOT com> In-Reply-To: <3805509C-51BA-46F9-95A3-007CE99B014A@unified-streaming.com> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Csaba_R=C3=A1duly_via_Cygwin?= Reply-To: =?UTF-8?Q?Csaba_R=C3=A1duly?= Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" On 30/10/2024 17:00, Dimitry Andric via Cygwin wrote: > #include > #include > > constexpr bool foo() > { > std::string str2{"abcwe"}; > return str2.size()==5; > } > > static_assert(foo()); > > int main() > { > assert(foo()); > } Seems like _GLIBCXX_USE_CXX11_ABI is not defined by default. Csaba -- Life is complex, with real and imaginary parts. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple