From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: C-g crash in C-x C-f (OSX Lion) Date: Sat, 17 Dec 2011 10:19:54 -0800 Organization: UCLA Computer Science Department Message-ID: <4EECDD4A.3030902@cs.ucla.edu> References: <4EEB48B2.9090602@swipnet.se> <83liqc1tac.fsf@gnu.org> <83fwgk1atk.fsf@gnu.org> <4EEBE0DC.1050803@cs.ucla.edu> <5CAFED3B-F63C-404F-ABD2-A9C3653D8F8E@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1324146015 30319 80.91.229.12 (17 Dec 2011 18:20:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2011 18:20:15 +0000 (UTC) Cc: Eli Zaretskii , Carsten Mattner , emacs-devel@gnu.org To: =?UTF-8?B?SmFuIERqw6Rydg==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 17 19:20:11 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rbyri-0008Cd-JG for ged-emacs-devel@m.gmane.org; Sat, 17 Dec 2011 19:20:11 +0100 Original-Received: from localhost ([::1]:38992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbyri-0003pl-2x for ged-emacs-devel@m.gmane.org; Sat, 17 Dec 2011 13:20:10 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:51977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbyrf-0003oE-LG for emacs-devel@gnu.org; Sat, 17 Dec 2011 13:20:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rbyrc-00064x-Ty for emacs-devel@gnu.org; Sat, 17 Dec 2011 13:20:07 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:58005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbyrY-00061z-Qn; Sat, 17 Dec 2011 13:20:01 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 85AAF39E8013; Sat, 17 Dec 2011 10:19:59 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2dYLpc04aTq5; Sat, 17 Dec 2011 10:19:59 -0800 (PST) Original-Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 2965239E8011; Sat, 17 Dec 2011 10:19:59 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 In-Reply-To: <5CAFED3B-F63C-404F-ABD2-A9C3653D8F8E@swipnet.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146786 Archived-At: On 12/17/11 01:14, Jan Dj=C3=A4rv wrote: > Did you use gcc for the static checking? Which options? Yes, I used gcc. Here are the options I typically use for Emacs on Fedora 15. I also use -isystem rather than -I for system include directories. I have a modified configure.in that enables all this with --enable-gcc-warnings (this is the typical 'configure' option for other GNU packages). I'm planning to add this 'configure' option to Emacs at some point, so that others can do this sort of checking if they want to. -std=3Dgnu99 -Wall -W -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs -Wunused -Wunknown-pragmas -Wstrict-aliasing -Wdeclaration-after-statement -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wlogical-op -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wunreachable-code -Winvalid-pch -Wvolatile-register-var -Wdisabled-optimization -Wstack-protector -Wbuiltin-macro-redefined -Wmudflap -Wpacked-bitfield-compat -Wsync-nand -Wattributes -Wcoverage-mismatch -Wmultichar -Wunused-macros -Wno-missing-field-initializers -Wno-missing-field-initializers -Wno-sign-compare -Wno-type-limits -Wno-switch -Wno-unused-parameter -Werror