unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11119: 23.4; Xcode 4.3.2 dislikes valueless return statements in non-void functions
@ 2012-03-28 23:42 Pavel Repin
  2012-03-29  3:58 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Repin @ 2012-03-28 23:42 UTC (permalink / raw)
  To: 11119

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''





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-01  6:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-28 23:42 bug#11119: 23.4; Xcode 4.3.2 dislikes valueless return statements in non-void functions Pavel Repin
2012-03-29  3:58 ` Glenn Morris
2012-03-29 17:56   ` Pavel Repin
2012-04-01  6:25     ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).