[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11119: 23.4; Xcode 4.3.2 dislikes valueless return statements in non
From: |
Pavel Repin |
Subject: |
bug#11119: 23.4; Xcode 4.3.2 dislikes valueless return statements in non-void functions |
Date: |
Wed, 28 Mar 2012 16:42:17 -0700 |
Hello,
Hi, when building Emacs 23.4 using homebrew on OS X 10.7 with Xcode
4.3.2, I've encountered errors described below when running "make
bootstrap":
src/nsterm.m:5451:5: error: non-void method 'performDragOperation:'
should return a value [-Wreturn-type]
src/nsimage.m:337:5: error: non-void method 'setXBMColor:' should
return a value [-Wreturn-type]
src/nsfont.m:1281:5: error: non-void function 'nsfont_draw' should
return a value [-Wreturn-type]
The patch to fix these errors is specified here:
https://github.com/mxcl/homebrew/issues/11263
Hope this helps. Thanks.
PS:
Build details (I built this version of Emacs using homebrew with the
fix applied):
In GNU Emacs 23.4.1 (x86_64-apple-darwin11.3.0, NS apple-appkit-1138.32)
of 2012-03-28 on mac-pavel.local
Windowing system distributor `Apple', version 10.3.1138
configured using `configure '--prefix=/usr/local/Cellar/emacs/23.4'
'--without-dbus'
'--enable-locallisppath=/usr/local/share/emacs/site-lisp'
'--infodir=/usr/local/Cellar/emacs/23.4/share/info/emacs' '--with-ns'
'--disable-ns-self-contained' 'CC=/usr/bin/clang' 'CFLAGS=-Os -w -pipe
-march=native -Qunused-arguments''
- bug#11119: 23.4; Xcode 4.3.2 dislikes valueless return statements in non-void functions,
Pavel Repin <=