Re: [code] [textadept] ncurses on OS X

From: Robert <rob.g.att.web.de>
Date: Mon, 22 Apr 2013 23:09:40 +0200

Mitchell,

thanks, a bit of progress -- now I get

g++ -c -arch i386 -mdynamic-no-pic -mmacosx-version-min=10.5
-pedantic -Os -DCURSES -D_XOPEN_SOURCE_EXTENDED -DSCI_LEXER -DNDEBUG
-DG_THREADS_IMPL_NONE -Iscintilla/include -Iscintilla/src
-Iscintilla/lexlib -Wall -Wno-missing-braces -Wno-char-subscripts
-Wno-long-long -Iscintilla/term scintilla/term/ScintillaTerm.cxx
scintilla/term/ScintillaTerm.cxx: In member function ‘virtual void
SurfaceImpl::AlphaRectangle(PRectangle, int, ColourDesired, int,
ColourDesired, int, int)’:
scintilla/term/ScintillaTerm.cxx:318: error: invalid use of incomplete
type ‘struct _win_st’
/usr/include/curses.h:322: error: forward declaration of ‘struct _win_st’
scintilla/term/ScintillaTerm.cxx: In member function ‘virtual void
SurfaceImpl::DrawTextTransparent(PRectangle, Font&, XYPOSITION, const
char*, int, ColourDesired)’:
scintilla/term/ScintillaTerm.cxx:375: error: invalid use of incomplete
type ‘struct _win_st’
/usr/include/curses.h:322: error: forward declaration of ‘struct _win_st’
make: *** [ScintillaTerm.o] Error 1

Robert

On Mon, Apr 22, 2013 at 10:33 PM, Mitchell <m.att.foicica.com> wrote:
> Robert,
>
> On Mon, 22 Apr 2013, Robert wrote:
>
>> Hi,
>>
>> On Mon, Apr 22, 2013 at 2:06 PM, Mitchell <m.att.foicica.com> wrote:
>>>
>>> Get latest scinterm hg. This was fixed over the weekend.
>>
>>
>> I used the script Chris posted recently. It fetches Scinterm as well
>> and I've checked and have the latest version.
>> Any other things I might check?
>
>
> Sorry for the confusion. I forgot to mention that you also need to add
>
> -D_XOPEN_SOURCE_EXTENDED
>
> to your plat_flags around line 134:
>
> plat_flag = -DCURSES -D_XOPEN_SOURCE_EXTENDED
>
> I'll fix this in hg later.
>
>
> Cheers,
> Mitchell
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 22 Apr 2013 - 17:09:40 EDT

This archive was generated by hypermail 2.2.0 : Tue 23 Apr 2013 - 06:54:14 EDT