Algu�m pode me informar por quais fun��es que tenho que substituir strlen,
memcpy no linux.
Tipo, tenho um programa feito em C e Cobol no SCO Openserver 5 e tento
recompilalo no Linux, s� que est� dando os seguintes erros:
compilo assim:
cob -x cli.cbl clitcp.c itoan.c -o clitcp
E me retorna as seguintes mensagens:
cli.cbl:
clitcp.c:
clitcp.c: In function `readclient':
clitcp.c:102: warning: passing arg 1 of `strlen' makes pointer from integer
with
out a cast
clitcp.c:102: warning: passing arg 2 of `memcpy' makes pointer from integer
with
out a cast
clitcp.c: In function `errclient':
clitcp.c:126: warning: passing arg 1 of `strlen' makes pointer from integer
with
out a cast
clitcp.c:126: warning: passing arg 2 of `memcpy' makes pointer from integer
with
out a cast
clitcp.c:128: warning: passing arg 1 of `strlen' makes pointer from integer
with
out a cast
clitcp.c:130: warning: passing arg 2 of `memcpy' makes pointer from integer
with
out a cast
clitcp.c:134: warning: passing arg 1 of `strlen' makes pointer from integer
with
out a cast
clitcp.c:134: warning: passing arg 2 of `memcpy' makes pointer from integer
with
out a cast
itoan.c:
itoan.c: In function `itoan':
itoan.c:21: warning: function returns address of local variable
cob: library not found: -lstdc++
Algu�m sabe me informar o que devo fazer?
___________________________
Fabr�cio Caldeireiro Matias
Sophus Inform�tica
[EMAIL PROTECTED]
Assinantes em 27/04/2001: 2253
Mensagens recebidas desde 07/01/1999: 111207
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
mailto:[EMAIL PROTECTED]