From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#681: Wrong C++ indentation in batch mode Date: Sun, 7 Feb 2016 22:09:31 +0000 Message-ID: <20160207220931.GB22378@acm.fritz.box> References: <200808091726.22907.Vivien.Mallet@inria.fr> <87zjn8hu79.fsf@bzg.ath.cx> <87zjn7g5x7.fsf@verdandi.inria.fr> <87ppo3hiz0.fsf@bzg.ath.cx> <20160104231642.GA13716@acm.fritz.box> <87zivd7g8z.fsf@inria.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1454882903 16327 80.91.229.3 (7 Feb 2016 22:08:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2016 22:08:23 +0000 (UTC) Cc: Bastien , Andrew Hyatt To: Vivien Mallet , 681-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 07 23:08:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aSXV5-0000OC-Dr for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 23:08:11 +0100 Original-Received: from localhost ([::1]:38634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSXV4-0005l9-Ju for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 17:08:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSXV1-0005kV-3L for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 17:08:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSXV0-0004Y6-6H for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 17:08:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSXUw-0004Ve-1F; Sun, 07 Feb 2016 17:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSXUv-0004iY-RH; Sun, 07 Feb 2016 17:08:01 -0500 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 07 Feb 2016 22:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 681 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Mail-Followup-To: 681@debbugs.gnu.org, acm@muc.de, Vivien.Mallet@inria.fr Original-Received: via spool by 681-done@debbugs.gnu.org id=D681.145488283418073 (code D ref 681); Sun, 07 Feb 2016 22:08:01 +0000 Original-Received: (at 681-done) by debbugs.gnu.org; 7 Feb 2016 22:07:14 +0000 Original-Received: from localhost ([127.0.0.1]:37654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSXUA-0004hR-Gb for submit@debbugs.gnu.org; Sun, 07 Feb 2016 17:07:14 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:33035) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSXU8-0004hJ-V1 for 681-done@debbugs.gnu.org; Sun, 07 Feb 2016 17:07:13 -0500 Original-Received: (qmail 75655 invoked by uid 3782); 7 Feb 2016 22:07:11 -0000 Original-Received: from acm.muc.de (p548A5C0F.dip0.t-ipconnect.de [84.138.92.15]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 07 Feb 2016 23:07:09 +0100 Original-Received: (qmail 23043 invoked by uid 1000); 7 Feb 2016 22:09:31 -0000 Content-Disposition: inline In-Reply-To: <87zivd7g8z.fsf@inria.fr> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112665 Archived-At: Hello, Vivien. On Sat, Feb 06, 2016 at 01:05:48PM +0100, Vivien Mallet wrote: > Hello, > On Tue, Jan 05 2016, Alan Mackenzie wrote: > > I've committed what I hope is a fix to the emacs-25 branch at savannah. > > Sorry it's taken (a lot) longer than it should have done. > Sure, 7.5 years is a long time! But it is good to see this bug report > was not lost, contrary to other reports. > > Would you please tell me what version of Emacs you're currently using, > > and I will try to adapt the patch for that version. Then I will ask you > > to try out the patch and let me know whether or not there are still > > errors. > My current version is 24.5.3. > I am not sure this is so useful that the fix is tested on this > version. Instead, I could check with the latest version in the branch > you mention. I have just tried to compile current version, but I got > this error > CC callint.o > alloc.c:1137:1: error: static declaration of ?aligned_alloc? follows non-static declaration > aligned_alloc (size_t alignment, size_t size) > ^ > In file included from alloc.c:31:0: > lisp.h:3779:14: note: previous declaration of ?aligned_alloc? was here > extern void *aligned_alloc (size_t, size_t) ATTRIBUTE_MALLOC_SIZE ((2)); > I do not have a lot of time to dig. So you might just mark the bug as > resolved! OK, then, I'll do that! Thanks again for the bug report, all these years ago. > Thank you, > Vivien. -- Alan Mackenzie (Nuremberg, Germany).