[pcre-dev] [Bug 1907] Setting for calling convention

Kezdőlap
Üzenet törlése
Szerző: admin
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 1907] Setting for calling convention
https://bugs.exim.org/show_bug.cgi?id=1907

Carsten Klein <cklein05@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cklein05@???.
                   |                            |net


--- Comment #5 from Carsten Klein <cklein05@???> ---
Hello there,

likely it was me, that requested for the configurable calling convention
macros. Since I'm still using good old Visual Basic 6 for some coding, PCRE is
required to use __stdcall calling convention with it's exported functions.

However, in order to work properly, the PCRE2_CALL_CONVENTION macro must be
present at the function's declaration in the header file as well as at the
functions implementation.

As Philip said, the calling convention is only present in the header file,
which definitely is not enough and so, is the reason while it does not work.

Philip, unlike the export declaration, you must add the PCRE2_CALL_CONVENTION
macro to all the external function's implementations.

Carsten Klein

--
You are receiving this mail because:
You are on the CC list for the bug.