From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William Xue" Newsgroups: gmane.emacs.devel Subject: Re: EXIT_SUCCESS and NO_RETURN in /lib-src Date: Wed, 14 Feb 2007 10:22:25 +0800 Organization: wv Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1171419760 25555 80.91.229.12 (14 Feb 2007 02:22:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Feb 2007 02:22:40 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 14 03:22:34 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HH9mz-000267-Aq for ged-emacs-devel@m.gmane.org; Wed, 14 Feb 2007 03:22:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HH9my-0000sJ-Oe for ged-emacs-devel@m.gmane.org; Tue, 13 Feb 2007 21:22:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HH9mn-0000s7-Sn for emacs-devel@gnu.org; Tue, 13 Feb 2007 21:22:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HH9ml-0000re-Uf for emacs-devel@gnu.org; Tue, 13 Feb 2007 21:22:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HH9ml-0000ra-Ol for emacs-devel@gnu.org; Tue, 13 Feb 2007 21:22:19 -0500 Original-Received: from nz-out-0506.google.com ([64.233.162.238]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HH9mk-0000dj-Mw for emacs-devel@gnu.org; Tue, 13 Feb 2007 21:22:18 -0500 Original-Received: by nz-out-0506.google.com with SMTP id s1so34343nze for ; Tue, 13 Feb 2007 18:22:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:from:organization:cc:content-type:mime-version:references:content-transfer-encoding:message-id:in-reply-to:user-agent; b=RYv0Oixezove6Zb4/6R3dAueRChOY2SysEd14w0yJ1L9643dWuNU3CJMgx1K/Aag2uiQBdJUjYJ5S8yFiU+u6zwGTbWeX2qTm4maIxW4ww8SrIoR8D125TNzWYZ8QMXm1Y2BpSMJf4J4CtK2/gkEayE3umWabDUeG+dmPFble/Q= Original-Received: by 10.35.74.1 with SMTP id b1mr2131786pyl.1171419738390; Tue, 13 Feb 2007 18:22:18 -0800 (PST) Original-Received: from williamnb ( [58.33.96.191]) by mx.google.com with ESMTP id c12sm599753nzc.2007.02.13.18.22.15; Tue, 13 Feb 2007 18:22:16 -0800 (PST) In-Reply-To: User-Agent: Opera Mail/9.20 (Win32) X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66361 Archived-At: On Tue, 13 Feb 2007 17:09:03 +0800, Juanma Barranquero wrote: > On 2/13/07, William Xue wrote: > >> It seems that only one -I flag allowed in this situation. >> I specified the include path because I put all the graphic's header >> files(gif, bmp, jpg, tiff, etc) in there. >> >> I did not know many about the flags in MinGW and GCC. Is there something >> wrong or it is the limitation of the compiler? > > FWIW, I build the emacs-unicode-2 branch on Windows XP with MinGW (gcc > (GCC) 3.4.5 (mingw special) according to -v), passing -I to > configure.bat: > > cmd /c configure.bat --with-gcc --no-cygwin --cflags > -IC:/emacs/build/include > > and it works just fine. > > Juanma Finally, I find the reason of the issue. In my '../nt/inc' folder, there is another 'config.h' which is for 'libxpm', I think. So, after I specified the '--cflags -I./inc' as a parameter of configure.bat, the errors is running. IMHO, This is a potential bug, anyway, I should include that 'config.h' if I want to build emacs with graphics supported. -- Sincerely yours, William