[pcre-dev] [Bug 710] call convention

Página Principal
Apagar esta mensagem
Autor: adrian_007
Data:  
Para: pcre-dev
Assunto: [pcre-dev] [Bug 710] call convention
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=710




--- Comment #2 from adrian_007 <adrian-007@???> 2008-05-17 14:18:13 ---
environment:
os: windows xp sp3
compiler: visual studio 2005 pro sp1
pcre: 7.7

when I said add __cdecl to every function, I meant some kind of definition,
like

#if defined(USE_CUSTOM_CALL)
#define CALL_CONV __cdecl
#else
#define CALL_CONV
#endif

and then
void CALL_CONV someFunc();

It's not a big problem for me at all, but on MSVC compiler, some libs can
complain about missing functions in library (I'm using __fastcall in all my
app), because it's looking for @someFunc@16 and not for someFunc. with declared
call convention, there is no problem with it. pcre could be compiled and
included with other libs using different call convention.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email