: I have made it in AIX(power station rs6k) but ....
: crxvt ----->can work fine !
: xcin ----->not so good ..... i am trying to change some functions then see
: see how about ...
xcin is not good ,yet .. cj.tab & ar30.tab can't work fine to me!
xcin 可以跑出中文字,可是沒能跑出我要的字<ex. 日 >
很奇怪!!
在 AIX 3.2.5.... and use gcc 2.6.2 我做不出 ph2xcin
the message is the following :
ph2xcin.c:7: redefinition of `u_char'
/usr/include/sys/types.h:182: `u_char' previously declared here
ph2xcin.c:8: redefinition of `u_short'
/usr/include/sys/types.h:183: `u_short' previously declared here
make: 1254-004 The error code from the last command is 1.
So I just can use AR30.tab & CJ.tab ... but have some problems
when input chinese . " word " can show on screen ,but the "word"
is not what I need ......
So someone who can tell me how to rebuild these input method ?
Thanks any help !!!!
remove typedef of u_char u_short in ph2xcin.c.
--
=================================================
交通大學資訊工程研究所 游順益 (035)712121-54784
E-mail dan...@info1.csie.nctu.edu.tw
-------------------------------------------------
雁渡寒潭 雁過而潭不留影
=================================================
: remove typedef of u_char u_short in ph2xcin.c.
親愛的游大哥:
問題又來了!麻煩看一下!
gcc -O2 -DXCIN_DIR=\"/home/usr/under/jjc/xcin/big5-pack/xcin\" ph2xcin.c
tran.o
-o ph2xcin
ph2xcin.c: In function `main':
ph2xcin.c:40: warning: cast from pointer to integer of different size
ph2xcin.c:40: invalid operands to binary |
ph2xcin.c:41: warning: cast from pointer to integer of different size
ph2xcin.c:41: invalid operands to binary |
ph2xcin.c:43: warning: comparison between pointer and integer
ph2xcin.c:45: warning: comparison between pointer and integer
ph2xcin.c:48: warning: comparison between pointer and integer
ph2xcin.c:56: warning: comparison between pointer and integer
make: 1254-004 The error code from the last command is 1.
謝謝您的幫助!
I don't know where is wrong,
how about try to cast (u_short)(*pp)|....