From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34849: Compilation issues with g++ on some files Date: Wed, 20 Mar 2019 09:05:14 +0200 Message-ID: <8336nit49h.fsf@gnu.org> 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> <87wokunkti.fsf@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="93668"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eggert@cs.ucla.edu, rms@gnu.org, 34849@debbugs.gnu.org To: Alex Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 20 08:22:17 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 1h6VYG-000OC4-Hd for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 08:22:16 +0100 Original-Received: from localhost ([127.0.0.1]:44004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6VYF-0004gs-IW for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 03:22:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6VY9-0004gU-Lr for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 03:22:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6VIY-00026B-HA for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 03:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37632) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6VIY-00025N-11 for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 03:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h6VIX-0005eC-No for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 03:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Mar 2019 07:06: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.155306553521668 (code B ref 34849); Wed, 20 Mar 2019 07:06:01 +0000 Original-Received: (at 34849) by debbugs.gnu.org; 20 Mar 2019 07:05:35 +0000 Original-Received: from localhost ([127.0.0.1]:51176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6VI7-0005dP-Bf for submit@debbugs.gnu.org; Wed, 20 Mar 2019 03:05:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6VI5-0005dB-Rw for 34849@debbugs.gnu.org; Wed, 20 Mar 2019 03:05:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6VHz-0001KY-TT; Wed, 20 Mar 2019 03:05:28 -0400 Original-Received: from [176.228.60.248] (port=2526 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h6VHr-00019N-Ag; Wed, 20 Mar 2019 03:05:20 -0400 In-reply-to: <87wokunkti.fsf@gmail.com> (message from Alex on Wed, 20 Mar 2019 00:04:09 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:156537 Archived-At: > From: Alex > Cc: Eli Zaretskii , rms@gnu.org, 34849@debbugs.gnu.org > Date: Wed, 20 Mar 2019 00:04:09 -0600 > > > 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". Why is it a problem to wrap most or all of lisp.h in extern "C"? Most of your system headers do that already.