gnucobol-users
[Top][All Lists]
Advanced

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

Re: [open-cobol-list] PROBLEM: CALL C PROGRAM WITH RETURNING


From: Keisuke Nishida
Subject: Re: [open-cobol-list] PROBLEM: CALL C PROGRAM WITH RETURNING
Date: Tue Mar 2 05:40:05 2004
User-agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryƍmae) APEL/10.3 Emacs/21.2 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI)

At Thu, 26 Feb 2004 07:12:02 -0300,
swinfor wrote:
> 
>        IDENTIFICATION DIVISION.
>        PROGRAM-ID. hello.
>        ENVIRONMENT DIVISION.
>        DATA DIVISION.
>        WORKING-STORAGE SECTION.
>        01 HELLO1 PIC X(6) VALUE "Hello ".
>        01 WORLD PIC X(6) VALUE "World!".
>        01 RET  PIC S9(9) BINARY VALUE ZEROS.
>        PROCEDURE DIVISION.
>        CALL "say" USING HELLO1 WORLD RETURNING RET.
>        MOVE 1 TO RETURN-CODE.
>        STOP RUN.
> 
> When I compile this program i got this warning
> 
> /tmp/cob0zzUoy.c:81: warning: passing arg 1 of `cob_move' makes pointer from 
> integer without a cast

What version of open-cobol do you use?  It seems this problem
has been fixed in CVS.

Keisuke


reply via email to

[Prev in Thread] Current Thread [Next in Thread]