From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by sourceware.org (Postfix) with ESMTPS id 7370E3858D37 for ; Mon, 18 Mar 2024 09:23:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7370E3858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7370E3858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=145.40.73.55 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710753836; cv=none; b=TJMRmXS/eTrSmgFo1d+bJ/LqEqteaPtKCy9Tt2sEpR+Yuq1z8NzllXP0m2/pEiMzBhXPO8FwyEbSSiMJFtpYdC1B7noNw0ou8HX/oVjKufjM7HQEociv4y4R6aDsOVV+E0eog1d7ZdKgwH3XA4T6ZTwYhYglosG0H73gZjqlNT0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710753836; c=relaxed/simple; bh=ZZnHtVBObZSsjEcpAgPrh+1ywjWaSP+bSnh7CHFDUuk=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=NpmSEp2DHGiokBipuyMt+N/fJVPGHaeM3s38vHOMrtWKzwZM7HJJV1VlyeqDVz8Jf4j3MVBvCEITW4lfzDpZHhtxar4zJ7W+mov+s+/cskrgnrV3gcfGV4SiOPPVnTaCdkvqX9l/kiZGrxTe++giCANPgScI86+c5VU6rNmO9iY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 16508CE0969; Mon, 18 Mar 2024 09:23:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0103C433C7; Mon, 18 Mar 2024 09:23:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710753830; bh=ZZnHtVBObZSsjEcpAgPrh+1ywjWaSP+bSnh7CHFDUuk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TnKf5kyEos9ilDNLHQI71ety95zguDQSbGgLTcM9C4TKqmtWAKlrm8llkbw0NWc4D +mMg9Xqycc+wZZx6anrOc6OrshYShqvqnoTGxvQQyiFTA1HzO6fhfkiSs5OyGVIZzs npdTE9++oNcIa/w9e13KJTopRzmgUcvc9rwCpqokcXcHxSywclY4N5SozL0QMgeZjB sSq6o8/s1sE5OTYpsf5zaMqTURT5F3Tp6H5P0Zt8kD7e2mTaw7G7YG5iXyOeIc8Y7h Kju79IL7p+vQ8yTJgHSJNoDBq2AIpagQqj81TP+4TW/qNinMuAbtXzl8Yt4e2/FWAX fzKfqVuap1NLQ== Date: Mon, 18 Mar 2024 10:23:47 +0100 From: Alejandro Colomar To: Amol Surati Cc: gcc-help@gcc.gnu.org Subject: Re: Assignment of union containing const-qualifier member Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7AkH1nmh+UC5aTPz" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --7AkH1nmh+UC5aTPz Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Mar 2024 10:23:47 +0100 From: Alejandro Colomar To: Amol Surati Cc: gcc-help@gcc.gnu.org Subject: Re: Assignment of union containing const-qualifier member Hi Amol, Let me ask these questions: Why does ISO C need a string structure? Why isn't it enough that some library implements such a string structure? At least for some decades, until time has proven that this is the string we all want. If it's a good type, and the library is portable, there shouldn't be a real difference if it's standard or not. Cheers, Alex --=20 Looking for a remote C programming job at the moment. --7AkH1nmh+UC5aTPz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmX4CCMACgkQnowa+77/ 2zI3sBAAh+tY/sr6Pr46XyhufoIUE6qPJGv0gVEKdRjPNzXx9ak1xQMM5POPSdqi 6qKdaNSHS6FO+eDTKpXMK+3FRSqUmDc7piHfqO/XjtqYZAAK5mz+mMqbfSedNy5Y y0V99/+azR/rX6VakfHYyRYWOLf2tFkH30cd+J+OQhBdHLWMhY42qNHL8rAkP1Td /0i6wrizbZ2IBUNmbfmvxIqrSNl6H9hAyVDji01cMfJzJoc7Jsx5RDVCGGNSWtFe P4wsxDpIZYO+s+KcXS+rjAF4kEnSfMZ2WppaaBiTmkO4GW8bqGaCDpgC+Nq8aY9/ X0LtUXCMiK3zs2pCsgT1XGRWGvTBXzrxk4VY2mea83mc7T0UWxivj8m7NXGq3pwa YKxAaYygl/mFffgS5o1FwOpHpGJCjHSRKlRNZFG4XNHiE5HWVofVt+U9Zc8l/NLT Wh3GXynembUZxh8U0AmfmEpGKvd4/06OGSQ+L3suEKCpVl8Mbz4KZlOZFgRg04TF PI5RJS81HoD7psQxCF8Oi+WqUfB6/wO5V6O6Qk8ua1iCqD7mINeO+l0e6pjNGFKZ gl7jRmW0qhBwOFqo4tgq766W1uiF8VZ6QKCuW73YeZsQIfcw7mXJPfEFMexrttR2 lC76i2Iw5czUE1nYO6edwfi+RUjfxsz11b6U58vvPRz4ervv8vk= =GdQX -----END PGP SIGNATURE----- --7AkH1nmh+UC5aTPz--