- Subject: Re: [slang-users] Error compiling slang2 on OS/2
- From: Johannes Hromadka <dyane@xxxxxx>
- Date: Sat, 26 Feb 2005 13:50:00 +0100
John E. Davis wrote:
Hello:
Johannes Hromadka <dyane@xxxxxx> wrote:
I can compile 1.4.9 without any problems. I get the same warnings for
SLtt_set_color, but no error in write_attributes.
I assume that the changes in SLsmg_Char_Type are the source of the error
Try replacing the OS/2 EMX_VIDEO version of write_attributes with this
version. I have no idea if it will work since I have no access to an
OS/2 system. Please let me know how you make out. Thanks, --John
I could compile this source now, but the next problem is in
E:\Hannes\Progr\C\slang-pre2-r5\src>make
gcc -Zmtd -DEMX_VIDEO -c -DOS2 -D__os2__ -o emxobjs/slos2tty.o ./slos2tty.c
./slos2tty.c: In function `thread_getkey':
./slos2tty.c:142: `SLang_Error' undeclared (first use in this function)
./slos2tty.c:142: (Each undeclared identifier is reported only once
./slos2tty.c:142: for each function it appears in.)
make.exe: *** [emxobjs/slos2tty.o] Error 1
SLang_Error was defined in slang.h and slerr.c
slang.h: extern volatile int SLang_Error;
It looks like it has been completely replaced by
volatile int _pSLang_Error = 0;
Is it save to replace SLang_Error with _pSLang_Error ?
Compilation was successful after this change. Next I'll try to compile
slrn against this library.
Are there any tests I could perform to check slang on OS/2?
Especially € handling, because IBM placed the Euro € in codepage 850.
Ciao, Hannes
--
Johannes Hromadka | Email: Johannes.Hromadka@xxxxxxx
Vienna/Austria/Europe | OECC: http://www.oecc.org/
Du musst die Details kennen (Geni Weber) <<<
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]