#3 Compile Errors showkey.c codepage.c

open
nobody
None
5
2007-03-08
2007-03-08
Anonymous
No

Cent OS 4 32 bit
gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)

Errors and correcting them:

1 ----
showkey.c:270: Fehler: Marke am Ende einer Verbundanweisung

case cmd_keymap:
printf(")\n");
default:
} <<< Error line 270

==> comment out the default:

/* default: */

2 --
im Verzeichnis contrib
codepage.c:230: Fehler: fehlendes abschließendes Zeichen "

fprintf(stderr, "\ << Error
Warning: CP format is a hack!\n
The files produced may or may not be usable!\n");

==> Put the the String for ouput in one Line with fprintf and use \n:

fprintf(stderr, "\n Warning: CP format is a hack!\n The files produced may or may not be usable!\n");

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks