Re: [code] [textadept] Textadept 5.5 beta

From: Bill Meahan <>
Date: Mon, 9 Jul 2012 12:04:16 -0400

On Mon, 9 Jul 2012 09:34:10 -0400 (EDT)
Mitchell <> wrote:

> Hi Bill,

> I made a pretty dumb mistake in the Makefile. At the top of the
> file, please replace:
> ifeq (Linux, $(shell uname -s))
> with
> kernel = $(shell uname -s)
> ifneq (, $(or $(findstring Linux, $(kernel)), $(findstring BSD,
> $(kernel))))
> Please let me know if that works and I'll commit the change.
> Mitchell

Close, but no cigar. :(

gcc -c -std=c99 -O -D_POSIX_C_SOURCE=200809L -D_DARWIN_C_SOURCE -DGTK
-Iscintilla/include -Igtdialog -W -Wall -Wno-sign-compare -Wno-unused
-I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/
-I/usr/local/include -I/usr/local/include/glib-2.0
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2
-I/usr/local/include/libpng15 textadept.c In file included from
textadept.c:20: /usr/include/sys/sysctl.h:793: error: expected
declaration specifiers or '...' before 'u_int' textadept.c: In function
'lstring_iconv': textadept.c:1386: warning: passing argument 2 of
'libiconv' from incompatible pointer type textadept.c: In function
'main': textadept.c:2213: warning: passing argument 2 of 'sysctl' makes
pointer from integer without a cast textadept.c:2213: warning: passing
argument 3 of 'sysctl' from incompatible pointer type textadept.c:2213:
warning: passing argument 5 of 'sysctl' makes integer from pointer
without a cast textadept.c:2213: error: too many arguments to function
'sysctl' gmake: *** [textadept.o] Error 1

Bill Meahan, Westland, Michigan USA
“Writing is a combination of intangible
  creative fantasy and appallingly
  hard work.”
          —Anthony Powell
This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.
You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Mon 09 Jul 2012 - 12:04:16 EDT

This archive was generated by hypermail 2.2.0 : Tue 10 Jul 2012 - 06:48:48 EDT