emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Visual bell patch for emacs on OSX


From: João Távora
Subject: Re: Visual bell patch for emacs on OSX
Date: Sat, 21 Dec 2013 00:11:11 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Jan Djärv <address@hidden> writes:

> 17 dec 2013 kl. 03:11 skrev Stefan Monnier <address@hidden>:
>
>>> Or would I have to rewrite it to work equally well on GNUstep?
>>
>> That would be sweet,
>>
>
> That is most likely impossible.  GNUStep lacks a lot of API-functions
> compared to Cocoa.

Is it really impossible to momentarily (and portably) flash the
header-line/ echo-area in the GNUstep build?

I heroically tried, but failed miserably right away. Building for
GNUstep (--with-ns) errors out in this compilation unit:

   gcc -std=gnu99 -c -Demacs -I. -I. -I../lib -I./../lib -D_REENTRANT -fPIC \
   -fno-strict-aliasing -I/usr/include/GNUstep -I/usr/local/include/GNUstep \
   -I/usr/include/alsa -pthread -I/usr/include/librsvg-2.0                  \
   -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include     \
   -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo                       \
   -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 \
   -I/usr/include/libxml2 -I/usr/include/dbus-1.0                           \
   -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -MMD -MF deps/nsterm.d -MP  \
   -I/usr/include/p11-kit-1 -g3 -O2 -fobjc-exceptions -fgnu-runtime         \
   -Wno-import -fconstant-string-class=NSConstantString                     \
   -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN    \
   -DGSDIAGNOSE nsterm.m

Many errors, at least in today's and recent git clonings

   nsterm.m:6075:1: error: trying to encode non-integer type as a
   bitfield

Besides the reasonably complete toolkit I use to compile for GTK, I'm on
debian wheezy and installed "gnustep-core-devel", version 7.7. Configure
ran fine.

I wonder if these are known pitfalls and if you can point me in the
right direction 

I vaguely remember --with-ns building OK on OSX, but haven't tried
recently.

Thanks,
João



reply via email to

[Prev in Thread] Current Thread [Next in Thread]