From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Bernd Paysan via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#37633: Column part interpreted wrong in compilation mode Date: Sun, 06 Oct 2019 19:35:33 +0200 Message-ID: <1695563.6luOslTFfj@daiyu> References: <2282407.NbK4RY0fEn@daiyu> <1734660.yQRGRn46K7@daiyu> <83h84l3ibo.fsf@gnu.org> Reply-To: Bernd Paysan Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1893091.2ROf81rDly"; micalg="pgp-sha256"; protocol="application/pgp-signature" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="252382"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37633@debbugs.gnu.org, anton@mips.complang.tuwien.ac.at To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 06 19:36:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHAS6-0013UN-3J for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Oct 2019 19:36:14 +0200 Original-Received: from localhost ([::1]:36048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHAS4-0004yZ-Vf for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Oct 2019 13:36:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39176) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHARx-0004yE-Qm for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2019 13:36:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHARv-00011r-Nb for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2019 13:36:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHARu-00011O-6K for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2019 13:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iHARu-0008DO-1v for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2019 13:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bernd Paysan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Oct 2019 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37633 X-GNU-PR-Package: emacs Original-Received: via spool by 37633-submit@debbugs.gnu.org id=B37633.157038334331546 (code B ref 37633); Sun, 06 Oct 2019 17:36:02 +0000 Original-Received: (at 37633) by debbugs.gnu.org; 6 Oct 2019 17:35:43 +0000 Original-Received: from localhost ([127.0.0.1]:46793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHARa-0008Cj-QT for submit@debbugs.gnu.org; Sun, 06 Oct 2019 13:35:43 -0400 Original-Received: from mail.net2o.de ([185.183.156.191]:36826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHARY-0008CY-8t for 37633@debbugs.gnu.org; Sun, 06 Oct 2019 13:35:41 -0400 Original-Received: from daiyu.localnet (200116b826959f009a939674d530470e.dip.versatel-1u1.de [IPv6:2001:16b8:2695:9f00:9a93:9674:d530:470e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by mail.net2o.de (Postfix) with ESMTPSA id 11872400A4; Sun, 6 Oct 2019 19:35:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=net2o.de; s=mail; t=1570383339; bh=2TVV43yqowkwGfnjbynNCbJQd/tKUaq+0zXThsFhgIg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pi6KiX6XUVp8rhsvV1j0y7/nopFrmBOX/9Tfx4PKzQ0goDYn6PaIkQk8hMaMP6nli C5pep6Xbjxr670vbzjAVgo9CNHRT1ObWiMlz2uKDt+uHYc8M6iMmX2kXjZnIM3oKch F+C/3lFIhYiBMsv50O4I0I+UtuTyV3Nwr0d5hYUg= In-Reply-To: <83h84l3ibo.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168440 Archived-At: --nextPart1893091.2ROf81rDly Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Am Sonntag, 6. Oktober 2019, 19:16:43 CEST schrieb Eli Zaretskii: > Sorry, now I'm confused. Does the compiler count bytes in its output > (where a Latin-1 line could be recoded in UTF-8, and thus have a > different number of bytes), or does it count bytes in the original > file (in this case encoded in Latin-1, i.e. 1 byte per character)? It counts bytes in its input. The output is just a copy of the input. The compiler (GCC here) does not even care or know about what encoding the input actually is. It's supposed to be ASCII compatible, the compiler does not try to be smart. C symbols are supposed to be ASCII only, C strings are just byte arrays. Don't try to overestimate the smartness here. -- Bernd Paysan "If you want it done right, you have to do it yourself" net2o id: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ* https://net2o.de/ --nextPart1893091.2ROf81rDly Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAl2aJeUACgkQ9y2Uk5Mt oGe+kxAAhhdtEwSbJsosxfme4sQEYN8jl4JbJJ6/ua0l6jcc9CXsPUxpAGHwX6zY h9ecgqP7GSQBfXH+jUxiF2jMPzHocWI5fpfXFLYmkEF4nrSiJgPFBJHlLH10UxeI IMJYqypsziihKIBam00Tlu/i8CFOaeEXMZe9zZgKsmS9/xffpgtYTSaRFIiMHm91 HzhfRVx6Op68/QKrJ+1cOGGpPmRRz9OJvDsZytDUF8yWDgWhqRJVovhK9fBZtMnt EKKwKVK899GYiosLJPPQwcH40btrVwi2tDREtya5pBIOvjSC6GplFlVwp3qcMHyB 3j9YEUMASJ3GJV443PnJQkigjpUC+QIgZXGPZ+Vy8SvxuqU0r/FX9OEMiCfuiKUs JalOMUwOCK+AAijt9jB0ilkjcp8eA8YjqHX49gsLUlXbLJxP8A6QdyxewTZ5mpZA 7zG2nXALbJvLDfD+Ey7bbbx1Ppwr0d+kEl9ZZQSTzpxS2ziDGvuRfXOr62+EEV66 nVI3ykLfQemaVLxmozHPBbCUtuIo0W1fWxe22sJLwNB2s5CLsJE6DOiyi4b5QeMp aqXRMpLspJb5BOWcqCHqq+WFaoc+uOdpletI/a5QjfZVRJBD33LsgT4IbTiGDlG4 RZRxKQNdBgYEeynHcn+cGo/rrjgfH2iHcF0sPO9WN1YXLVFZ0JE= =41EQ -----END PGP SIGNATURE----- --nextPart1893091.2ROf81rDly--