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

Páxina inicial
Borrar esta mensaxe
Autor: admin
Data:  
Para: pcre-dev
Asunto: [pcre-dev] [Bug 1907] Setting for calling convention
https://bugs.exim.org/show_bug.cgi?id=1907

--- Comment #2 from David Gausmann <david.gausmann@???> ---
Hello Philip,

you are right, the calling convention exists in the source code files.
But it is missing in the generated header file.

The prototype in the header file (pcre2.h), which I use as include file in my
project, looks like this (= no calling convention):
PCRE2_EXP_DECL \
pcre2_compile_context *pcre2_compile_context_create(pcre2_general_context
*);\

In the source code file it looks instead like this:
PCRE2_EXP_DEFN pcre2_match_context * PCRE2_CALL_CONVENTION
pcre2_match_context_create(pcre2_general_context *gcontext)

If my assumption is correct, then CMake creates the pcre2.h file.
But I don't see any PCRE2_CALL_CONVENTION setting in CMake.
So maybe there is something wrong in the CMake configuration?


Kind Regards
David Gausmann

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