Le 18/04/2013 10:11, Jacek Caban a écrit :
> On 04/18/13 09:41, Rafaël Carré wrote:
>> Le 18/04/2013 09:40, Kai Tietz a écrit :
>>> Hello Rafael,
>>>
>>> patch is ok.  Could you do the same for msvcrt.def files, too?
>> I was unsure if doing it was necessary because they are already present
>> in moldname, should they be removed from moldname then?
> 
> Could you explain, why are you adding those aliases? They don't seem to
> be present in msvcr* DLLs nor MSVC import libs.

I want to use the standard functions from msvcr110.dll and not msvcrt.dll.

This assumes that the _ prefixed functions are 100% equivalent to the
not prefixed ones.

No idea how Windows handles that though.

Example: msvcr110.dll provides free and _strdup, msvcrt.dll provides an
import symbol for strdup.

Code calling strdup()/free() in pair and linking with msvcr110.dll will
crash inside msvcr110.dll when calling free().

Matching free() with _strdup() (aliased to strdup) from the same DLL
works fine.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to