From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#34849: Compilation issues with g++ on some files Date: Wed, 20 Mar 2019 00:04:09 -0600 Message-ID: <87wokunkti.fsf@gmail.com> References: <8736nqzdfe.fsf@gmail.com> <874l82krcs.fsf@gmail.com> <87a7hsm9zj.fsf@gmail.com> <838sxbuxn5.fsf@gnu.org> <942e9a7c-c355-b199-fd88-861664783db4@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="83378"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: rms@gnu.org, 34849@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 20 07:12:28 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6USi-000LOy-Nm for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 07:12:28 +0100 Original-Received: from localhost ([127.0.0.1]:43442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6USc-00013P-Ei for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 02:12:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6USO-0000tz-Mh for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 02:12:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6ULf-0000H2-FN for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 02:05:15 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6ULW-00007n-L8 for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 02:05:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h6ULV-0004Cx-Lf for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 02:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Mar 2019 06:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34849 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 34849-submit@debbugs.gnu.org id=B34849.155306186616125 (code B ref 34849); Wed, 20 Mar 2019 06:05:01 +0000 Original-Received: (at 34849) by debbugs.gnu.org; 20 Mar 2019 06:04:26 +0000 Original-Received: from localhost ([127.0.0.1]:51155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6UKw-0004C1-Hw for submit@debbugs.gnu.org; Wed, 20 Mar 2019 02:04:26 -0400 Original-Received: from mail-it1-f182.google.com ([209.85.166.182]:40082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6UKt-0004Bn-Pe for 34849@debbugs.gnu.org; Wed, 20 Mar 2019 02:04:24 -0400 Original-Received: by mail-it1-f182.google.com with SMTP id l139so30792823ita.5 for <34849@debbugs.gnu.org>; Tue, 19 Mar 2019 23:04:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=OzawkO7K4fAFPEiT2b3sbM5HoZuSrxTdeYqBwq9n//E=; b=Dku5cs09DquA5YB3gH87gx/HDlj/848TsXBRXYmI2Kc+3oOiMma3IZ5wAk3NNdHo1g ulPea+p32N3w4nqdYFUqJoQJOYc8FgYPc0PZrY/Eh6go+C0aQbZH7+1Ur8R6rUJhTg/a cXAsrV1KrC7AhC1qyGtRg9F4E5y5nbvrLHYop46ZAQXgPEIBldj0ZBTRBkWPix2kSITA B4Z9WEX/RZCOTm4lfJ9yOfGSnZhaC8ff447QNV5e7FpXw2GQbkLo4gu3+5IirWyMZvH4 kot1p1H6EdJle/3v5gw4lrSnmcgJ8O0VmmJCIC4w1mRVR4pv+9QbhsVeDCgs6vaGYAUZ fH2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=OzawkO7K4fAFPEiT2b3sbM5HoZuSrxTdeYqBwq9n//E=; b=mliioJ55+utJPqoWY9ipA9NfKTZNDdg0EL3QRzOX4Rb+r0kgico4EFwdW/KR3JHzYy plV31WRm0JPLXhiPZmVjGIDRIb1W6Vm8gLJe/ke9AwQquBR8nXoQ1GqWL1FFsaGaZGRb oFwRLiRFfcReRui35ZQmmWoNfgGfkA0hKhN1QHfR8ARAC1pu7hG5+DI0Q1f7X+Mx5v/T aN3WRYOOW8bQvi2LGzEIwmAe3fCTQJEUZJerssnIDEz7FXyIH/44/Oh4neNayDeqyVzT ZrDAdv2CADoBtPwiPrpXDjFe2NfxdY8yKclP9Fm+ZRAGqbHz6up3hzUoHJl9I+Qrcx9W DfVw== X-Gm-Message-State: APjAAAUfdQMVrBQh7CWjwpFE5Kh5TvtpdATvpzHutzMp6/fzUEmcXB1J W6hOBSNkYj63hdahCN9JI8p1FKM2 X-Google-Smtp-Source: APXvYqy6oG1mSy2lS/+SYWFIJTPHeYIw61fQpQp5pKrgwvcwhpkM5F7uOuwLgKCs/2fcMeE3oDe7qA== X-Received: by 2002:a24:6412:: with SMTP id t18mr3560209itc.120.1553061857888; Tue, 19 Mar 2019 23:04:17 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id t24sm477569ioi.66.2019.03.19.23.04.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2019 23:04:17 -0700 (PDT) In-Reply-To: <942e9a7c-c355-b199-fd88-861664783db4@cs.ucla.edu> (Paul Eggert's message of "Tue, 19 Mar 2019 19:12:24 -0700") 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:156532 Archived-At: Paul Eggert writes: > Eli Zaretskii wrote: >> I believe the intent was to make the existing code be compilable with >> a C++ compiler without introducing any C++ code per se. > > Although that may have been the intent, the downside is that a reasonable amount > of work and testing would have to be done to support it. Perhaps in the long run, but outside of these few issues everything _seemed_ fine, at least with my particular configuration. > On the Gnulib side we've had some skepticism that this would be worth > the hassle; see: > > https://lists.gnu.org/r/bug-gnulib/2019-03/msg00060.html > > Especially since there is a disciplined way of using the code that (at least for > Alex's need) appears to work well enough; see: > > https://lists.gnu.org/r/bug-gnulib/2019-03/msg00064.html My problem there was that lisp.h includes verify.h, so I figure it would have been better to either fix it in upstream (which got shot down) or wrap the single include in extern "C++" rather than wrap most of lisp.h in extern "C".