[PATCH] wdscore: Implement CurrentIP.

Mohamad Al-Jaf mohamadaljaf at gmail.com
Thu Jan 20 02:01:32 CST 2022


Hi,

Okay, I've submitted a revision. I tried my best to fix the issue on my own
but to no avail.

To everyone who's participated in this discussion, thank you all for the
help.

On Wed, Jan 19, 2022 at 8:24 AM Giovanni Mascellani <
gmascellani at codeweavers.com> wrote:

> Hi,
>
> Il 19/01/22 01:59, Mohamad Al-Jaf ha scritto:
> > Thanks, it does make it easier and more readable. Doing this causes no
> > warnings:
> >
> >      char *cur;
> >      char *ret;
> >
> >      cur = (char*)&test_CurrentIP;
> >      ret = (char*)CurrentIP();
>
> This looks fine to me.
>
> > Removing WINAPI from the declaration allows it to compile:
> >
> > extern void *CurrentIP(void);
> >
> > I don't understand why this is happening. What am I missing?
>
> Neither do I, although the same happens here. Since I doubt many people
> are still following the thread, I'd suggest resending the patch with all
> the modifications and removing that WINAPI, with a comment that says
> that you don't understand why you have to remove it. And hope that
> somebody more experienced will have something to say.
>
> Giovanni.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220120/1f8c53c6/attachment.htm>


More information about the wine-devel mailing list