Hello Craig.

First of all my thanks for the new utils and libax25.

I got the following when compiling the ax25lib.

axutils.c: In function `ax25_aton_arglist':
axutils.c:142: warning: assignment discards `const' from pointer target type
axutils.c: In function `strupr':
axutils.c:310: warning: assignment discards `const' from pointer target type
axutils.c:313: warning: return discards `const' from pointer target type
axutils.c: In function `strlwr':
axutils.c:326: warning: assignment discards `const' from pointer target type
axutils.c:329: warning: return discards `const' from pointer target type


I am using;

-rwxr-xr-x   1 root     root      4016683 Apr 16 22:48 /lib/libc-2.1.1.so
lrwxrwxrwx   1 root     root           13 Jun 11 07:03 /lib/libc.so.6 ->
libc-2.1.1.so

A normal Redhat-6.0 install.

>From ax25-tools-0.0.2

gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c axspawn.c
axspawn.c: In function `new_user':
axspawn.c:427: warning: assignment makes pointer from integer without a cast
axspawn.c: In function `read_config':
axspawn.c:515: warning: assignment makes pointer from integer without a cast
axspawn.c: In function `main':
axspawn.c:722: warning: assignment makes pointer from integer without a cast
gcc  -g -O2  -o axspawn  axspawn.o -lax25 -lutil
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c beacon.c

gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c kissparms.c
kissparms.c: In function `main':
kissparms.c:94: warning: comparison between pointer and integer
kissparms.c:151: warning: passing arg 1 of `strlen' makes pointer from
integer without a cast
kissparms.c:151: warning: passing arg 1 of `strlen' makes pointer from
integer without a cast
kissparms.c:151: warning: passing arg 1 of `strlen' makes pointer from
integer without a cast
kissparms.c:151: warning: passing arg 2 of `memcpy' makes pointer from
integer without a cast
kissparms.c:151: warning: passing arg 2 of `strcpy' makes pointer from
integer without a cast
gcc  -g -O2  -o kissparms  kissparms.o -lax25


gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c ax25_call.c
ax25_call.c: In function `main':
ax25_call.c:78: warning: passing arg 1 of `ax25_aton_arglist' from
incompatible pointer type
gcc  -g -O2  -o ax25_call  ax25_call.o -lax25

ax25-apps

gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c call.c
call.c:1455: warning: #ifdef' argument starts with a digit
call.c: In function `connect_to':
call.c:304: warning: passing arg 1 of `ax25_aton_arglist' from incompatible
pointer type


Now the above are only warnings, everything compiles, as to using them i
have not had time to try anything out, i realise that the warnigs are mostly
harmless and you may even have mentioned that fact in a file which i have
not yet read.

Anyway thanks for taking the time to produce the new apps tools and lib.


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to