Its probably something really simple but here it goes. As you know I have
completed translating the complete program of Ivan's OLC 2.1. The only
problem I'm running into at this time is this:

same command problem. with command. Here is the : Make errors:

$ gcc -DUnix -DOLD_RAND -DNOCRYPT *.c
cmdedit.c: In function `do_cmdedit':
cmdedit.c:143: conflicting types for `command'
cmdedit.c:142: previous declaration of `command'
cmdedit.c:160: warning: passing arg 2 of `one_argument' makes pointer from
integ
er without a cast
cmdedit.c:163: warning: passing arg 1 of `str_cmp' makes pointer from
integer wi
thout a cast
cmdedit.c:170: warning: passing arg 1 of `str_cmp' makes pointer from
integer wi
thout a cast
cmdedit.c:178: warning: passing arg 1 of `cmd_lookup' makes pointer from
integer
 without a cast

I can't paste the grep for command because it would be too long. Has anyone
else had this problem with OLC if so what did you do to eleaviate the
problem?

                          Dantin





Reply via email to