On Fri, Jan 11, 2013 at 7:45 AM, Ribhi Kamal <rbhka...@gmail.com> wrote:
> I guess the next time I see a linker complain about _<NAME> I'll know what's
> wrong :)
Absolutely. I've done the same many times, and that's why I knew :)

> On Fri, Jan 11, 2013 at 6:07 AM, Michel <msa...@paybox.com> wrote:
>>
>>
>> Found interresting related article from Wikipedia :
>> http://en.wikipedia.org/wiki/Name_mangling
>>
>> "Note that the 64-bit convention on Windows (Microsoft C) is no leading
>> underscore.
>> This difference may in some rare cases lead to unresolved externals when
>> porting such code to 64 bits. "
>>
>> Le 11/01/2013 01:06, Dave Thompson a écrit :
>>
>>> Winx86 has two generally used calling conventions,
>>> which are distinguished by different name mangling:
>>> cdecl has underscore at the beginning;
>>> stdcall has atsign-number (of bytes popped) at the end.
>>> (Plus several more that are used more locally.)
>>>
>>> (I've been told) Winx64 has only one calling convention
>>> and doesn't need this mangling, so maybe it isn't done
>>> or at least isn't done the same way.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to