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

Re: [linrad] Almost there...



Hi Dan and all,

Only for 'make' in main.c paragraph;

At 21:47 02/11/16 -0800, you wrote:
>Compiling Linrad:
>  After fixing the multi-line string literal problem in main.c,
>  I now get a make error at line 818 as follows:
>
>
>[root@linrad001 lir]# make
>gcc -O -W -Wimplicit -Wreturn-type -Wformat \
>-Wunused -Wcomment -Wchar-subscripts -Wshadow -Wuninitialized \
>-Wparentheses -Wstrict-prototypes -Werror -ffast-math -fforce-mem \
>-fomit-frame-pointer -c -o main.o \
>main.c
>main.c:818:22: multi-character character constant
>make: *** [main.o] Error 1
>
>
>What I see at line 818 in emacs is:
>
>  rx_mode=(vga_inkey-'A')^0x80;
>
>...except that the single-quoted capital 'A' is really a single-
>quoted capital 'A' with an accent mark above it.  How should this
>line really look?  BTW - Linrad v.47 main.c comes up the same way.

Hmmm......something wrong!
rx_mode=(vga_inkey-'?`')^0x80;
Above was opend from emacs and copied by WinXP WordPad.
It seems a multi-language-character.
Strange, there was no error in my RHL 8.0 before.

Ok, I will replace a 10GB disk and boot up for RHL 8.0.
Stay tuned...

Kohjin - JR1EDE


LINRADDARNIL
y