On Wed, 25 Oct 2017, Tamar Christina wrote:

---- On Sun, 22 Oct 2017 21:29:32 +0000 Martin Storsjö <[email protected]> wrote 
----
> On Sun, 22 Oct 2017, Tamar Christina wrote:
>
> > say I have an object file requiring both _assert and _wassert.
> >
> > if my link order is -lmsvcrt -lmingwex, it'll pick assert from msvcrt,
>
> It shouldn't pick _assert from msvcrt as far as I can see. Since _assert
> in msvcrt.def.in is defined with DATA; it will only produce an
> __imp__assert symbol, not _assert. When I try this exact setup you're
> describing, I don't get any error even though I link -lmsvcrt before
> -lmingwex.

You're right, it is DATA. Hmm I'm not sure when the msys2 snapshot was made but
you're correct that master even without my patch works..

Sorry for the noise!

Np, and thanks for confirming that the current master is fixed wrt to this!

// Martin
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to