Use this for your function declarations:

RexxReturnCode REXXENTRY MySimpleFunction(
    const char* name,                    //  Function name              //
    size_t numargs,                      //  Number of arguments        //
    CONSTRXSTRING args[],                //  Argument array             //
    const char*  queuename,              //  Current queue              //
    PRXSTRING retstr )                   //  Return RESULTS string      //


On Tue, Jun 9, 2020 at 11:21 PM taf <t...@pgmguild.com> wrote:

> I'm trying to upgrade David Ashley's mod_rexx package for Apache httpd.
> The last version was for httpd 2.2 and ooRexx 3.1.2 I've successfully
> compiled for httpd 2.4 and ooRexx 5.0.0 but...
>
> I'm getting many warnings:
>
> mod_rexx.c(410): warning C4133: 'function': incompatible types - from
> 'int (__cdecl *)(int,int,PEXIT)' to 'REXXPFN'
>
> rxfuncs.c(2695): warning C4133: 'function': incompatible types - from
> 'ULONG (__cdecl *)(PSZ,LONG,RXSTRING *,PSZ,PRXSTRING)' to 'REXXPFN'
>
> can anyone point out what I've done wrong? These 'warnings' seem pretty
> dire to me...
>
> Thanks in advance.
>
>
>
>
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to