From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mario Lassnig Newsgroups: gmane.emacs.bugs Subject: bug#4297: snow leopard + latest cvs break compile Date: Mon, 31 Aug 2009 11:54:59 +0200 Message-ID: <45e47c1e0908310254v6a496066p42014ad2fed5e256@mail.gmail.com> Reply-To: mario@lassnig.net, 4297@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1251715579 22750 80.91.229.12 (31 Aug 2009 10:46:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2009 10:46:19 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 31 12:46:12 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mi4On-0008Qv-US for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 12:46:12 +0200 Original-Received: from localhost ([127.0.0.1]:50986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mi4Om-0004Q9-Rf for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 06:46:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mi3mx-0003DC-8l for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 06:07:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mi3ms-00035d-MC for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 06:07:02 -0400 Original-Received: from [199.232.76.173] (port=60551 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mi3ms-00035F-HI for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 06:06:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37964) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mi3mr-00084u-Q4 for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 06:06:58 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7VA6tn7023861; Mon, 31 Aug 2009 03:06:55 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7VA05uh021915; Mon, 31 Aug 2009 03:00:05 -0700 Resent-Date: Mon, 31 Aug 2009 03:00:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Mario Lassnig Original-Sender: mario.lassnig@gmail.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 31 Aug 2009 10:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4297 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125171253221310 (code B ref -1); Mon, 31 Aug 2009 10:00:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 31 Aug 2009 09:55:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7V9tTm0021292 for ; Mon, 31 Aug 2009 02:55:30 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mi3bk-00054O-Ua for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 05:55:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mi3bd-000534-Vh for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 05:55:26 -0400 Original-Received: from [199.232.76.173] (port=43783 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mi3bd-000531-Po for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 05:55:21 -0400 Original-Received: from mail-fx0-f226.google.com ([209.85.220.226]:33373) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mi3bd-0005XP-1n for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 05:55:21 -0400 Original-Received: by fxm26 with SMTP id 26so628692fxm.42 for ; Mon, 31 Aug 2009 02:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=Ev3iMXuh80dtbPmWaIyIgEvknsPrXPZ5oAn615DYy2A=; b=FpYYQBkGDVQqzY2mf3FrMU7c2AJn6b5cRUtpkE6vw/kZnlrF2vhpirDpOFc13Cu5B/ PK+NIyIGYHyOEmcvyP6qDAnYYtg4hzblqCTpooxPZftRLbIhjZfh9xDxS3dLP4M8WJik lNGsBfvP6dXLa40oGAGMejetiT0O1T7hZjbLg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:from:date:x-google-sender-auth :message-id:subject:to:content-type:content-transfer-encoding; b=asWGsTLYOLB8+2GQa/gcsDMVuPqFOd8in/mJ/zD3eCK8eZkZlyyLN1J0e9Zfga4kGn j0IwK24xDhkfLy2mcmlmxYLJVQYblydrjI0N0asHQF2EUFO/IoHul/3C5iV72ulRuT/I BEnjY+f3bRukbj17PZCv+Np/L4uL7G2F93mZk= Original-Received: by 10.223.103.3 with SMTP id i3mr1359439fao.65.1251712519420; Mon, 31 Aug 2009 02:55:19 -0700 (PDT) X-Google-Sender-Auth: 885f75744de7f32b X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 31 Aug 2009 06:07:02 -0400 X-Mailman-Approved-At: Mon, 31 Aug 2009 06:37:40 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30678 Archived-At: Hi all, I get the following compile error on snow leopard with ./configure --with-ns; make Cheers, Mario Mario@hep33:~/Development/emacs$ gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Mario@hep33:~/Development/emacs$ make cd lib-src; make all \ CC=3D'gcc -I/sw/include -L/sw/lib' CFLAGS=3D'-g -O2 -Wno-pointer-sign ' CPPFLAGS=3D'' \ LDFLAGS=3D'' MAKE=3D'make' make[1]: Nothing to be done for `all'. boot=3Dbootstrap-emacs; \ if [ ! -x "src/$boot" ]; then \ cd src; make all \ CC=3D'gcc -I/sw/include -L/sw/lib' CFLAGS=3D'-g -O2 -Wno-pointer-sign ' CPPFLAGS=3D'' \ LDFLAGS=3D'' MAKE=3D'make' BOOTSTRAPEMACS=3D"$boot"; \ fi; gcc -I/sw/include -L/sw/lib -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/Mario/Development/emacs/src -Dtemacs -g -O2 -Wno-pointer-sign nsterm.m In file included from nsterm.h:20, from nsterm.m:41: dispextern.h:1250: error: array type has incomplete element type nsterm.m: In function =E2=80=98ns_color_to_lisp=E2=80=99: nsterm.m:1499: warning: passing argument 1 of =E2=80=98getRed:green:blue:alpha:=E2=80=99 from incompatible pointer type nsterm.m:1499: warning: passing argument 2 of =E2=80=98getRed:green:blue:alpha:=E2=80=99 from incompatible pointer type nsterm.m:1499: warning: passing argument 3 of =E2=80=98getRed:green:blue:alpha:=E2=80=99 from incompatible pointer type nsterm.m:1499: warning: passing argument 4 of =E2=80=98getRed:green:blue:alpha:=E2=80=99 from incompatible pointer type nsterm.m:1503: warning: passing argument 1 of =E2=80=98getWhite:alpha:=E2= =80=99 from incompatible pointer type nsterm.m:1503: warning: passing argument 2 of =E2=80=98getWhite:alpha:=E2= =80=99 from incompatible pointer type nsterm.m:1504: warning: '0' flag ignored with precision and =E2=80=98%x=E2= =80=99 printf format nsterm.m:1504: warning: '0' flag ignored with precision and =E2=80=98%x=E2= =80=99 printf format nsterm.m:1504: warning: '0' flag ignored with precision and =E2=80=98%x=E2= =80=99 printf format nsterm.m:1510: warning: '0' flag ignored with precision and =E2=80=98%x=E2= =80=99 printf format nsterm.m:1510: warning: '0' flag ignored with precision and =E2=80=98%x=E2= =80=99 printf format nsterm.m:1510: warning: '0' flag ignored with precision and =E2=80=98%x=E2= =80=99 printf format nsterm.m: In function =E2=80=98ns_query_color=E2=80=99: nsterm.m:1528: warning: passing argument 1 of =E2=80=98getRed:green:blue:alpha:=E2=80=99 from incompatible pointer type nsterm.m:1528: warning: passing argument 2 of =E2=80=98getRed:green:blue:alpha:=E2=80=99 from incompatible pointer type nsterm.m:1528: warning: passing argument 3 of =E2=80=98getRed:green:blue:alpha:=E2=80=99 from incompatible pointer type nsterm.m:1528: warning: passing argument 4 of =E2=80=98getRed:green:blue:alpha:=E2=80=99 from incompatible pointer type nsterm.m: In function =E2=80=98note_mouse_movement=E2=80=99: nsterm.m:1693: warning: passing argument 4 of =E2=80=98remember_mouse_glyph= =E2=80=99 from incompatible pointer type nsterm.m: In function =E2=80=98ns_mouse_position=E2=80=99: nsterm.m:1762: warning: passing argument 4 of =E2=80=98remember_mouse_glyph= =E2=80=99 from incompatible pointer type nsterm.m: In function =E2=80=98ns_get_glyph_string_clip_rect=E2=80=99: nsterm.m:2479: error: dereferencing pointer to incomplete type nsterm.m:2479: error: dereferencing pointer to incomplete type nsterm.m:2482: error: dereferencing pointer to incomplete type nsterm.m:2482: error: invalid use of undefined type =E2=80=98struct _NSRect= =E2=80=99 nsterm.m:2482: error: dereferencing pointer to incomplete type nsterm.m: In function =E2=80=98ns_dumpglyphs_stretch=E2=80=99: nsterm.m:2850: warning: passing argument 2 of =E2=80=98ns_get_glyph_string_clip_rect=E2=80=99 from incompatible pointer t= ype nsterm.m: In function =E2=80=98ns_draw_glyph_string=E2=80=99: nsterm.m:2934: warning: passing argument 2 of =E2=80=98ns_get_glyph_string_clip_rect=E2=80=99 from incompatible pointer t= ype nsterm.m:2951: warning: passing argument 2 of =E2=80=98ns_get_glyph_string_clip_rect=E2=80=99 from incompatible pointer t= ype nsterm.m:2963: warning: passing argument 2 of =E2=80=98ns_get_glyph_string_clip_rect=E2=80=99 from incompatible pointer t= ype nsterm.m:2975: warning: passing argument 2 of =E2=80=98ns_get_glyph_string_clip_rect=E2=80=99 from incompatible pointer t= ype nsterm.m:3008: warning: passing argument 2 of =E2=80=98ns_get_glyph_string_clip_rect=E2=80=99 from incompatible pointer t= ype nsterm.m: In function =E2=80=98-[EmacsView keyDown:]=E2=80=99: nsterm.m:4536: warning: =E2=80=98wantsToDelayTextChangeNotifications=E2=80= =99 is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:112) nsterm.m: In function =E2=80=98-[EmacsView characterIndexForPoint:]=E2=80= =99: nsterm.m:4745: warning: conflicting types for =E2=80=98-(unsigned int)characterIndexForPoint:(NSPoint)thePoint=E2=80=99 /System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:45: warning: previous declaration of =E2=80=98-(NSUInteger)characterIndexForPoint:(NSPoint)thePoint=E2=80=99 nsterm.m: In function =E2=80=98-[EmacsView initFrameFromEmacs:]=E2=80=99: nsterm.m:5144: warning: class 'EmacsView' does not implement the 'NSWindowDelegate' protocol nsterm.m: In function =E2=80=98-[EmacsView draggingEntered:]=E2=80=99: nsterm.m:5422: warning: conflicting types for =E2=80=98-(unsigned int)draggingEntered:(id )sender=E2=80=99 /System/Library/Frameworks/AppKit.framework/Headers/NSDragging.h:56: warning: previous declaration of =E2=80=98-(NSDragOperation)draggingEntered:(id )sender=E2= =80=99 nsterm.m: In function =E2=80=98+[EmacsScroller scrollerWidth]=E2=80=99: nsterm.m:5707: warning: conflicting types for =E2=80=98+(float)scrollerWidt= h=E2=80=99 /System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:76: warning: previous declaration of =E2=80=98+(CGFloat)scrollerWidth=E2=80=99 nsterm.m: In function =E2=80=98-[EmacsScroller setPosition:portion:whole:]= =E2=80=99: nsterm.m:5837: warning: =E2=80=98setFloatValue:knobProportion:=E2=80=99 is = deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSScroller= .h:107) nsterm.m:5844: warning: =E2=80=98setFloatValue:knobProportion:=E2=80=99 is = deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSScroller= .h:107) nsterm.m: In function =E2=80=98-[EmacsScroller mouseDown:]=E2=80=99: nsterm.m:5949: warning: format =E2=80=98%d=E2=80=99 expects type =E2=80=98i= nt=E2=80=99, but argument 3 has type =E2=80=98NSScrollerPart=E2=80=99 make[1]: *** [nsterm.o] Error 1 make: *** [src] Error 2