[commit: ghc] wip/mark-fragile-windows-tests: rts/RtsSymbols: Drop __mingw_vsnwprintf (1542c83)

git at git.haskell.org git at git.haskell.org
Tue Mar 5 21:44:41 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/mark-fragile-windows-tests
Link       : http://ghc.haskell.org/trac/ghc/changeset/1542c8322c0fb6196a963dbb05645d184ef3e7db/ghc

>---------------------------------------------------------------

commit 1542c8322c0fb6196a963dbb05645d184ef3e7db
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Mar 5 11:58:18 2019 -0500

    rts/RtsSymbols: Drop __mingw_vsnwprintf
    
    As described in #16387, this is already defined by mingw and
    consequently defining it in the RTS as well leads to multiple definition
    errors from the RTS linker at runtime.


>---------------------------------------------------------------

1542c8322c0fb6196a963dbb05645d184ef3e7db
 rts/RtsSymbols.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index 6966d6d..575b6f0 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -110,7 +110,6 @@
       RTS_WIN64_ONLY(SymI_HasProto(__imp__environ))      \
       RTS_WIN32_ONLY(SymI_HasProto(_imp___iob))          \
       RTS_WIN64_ONLY(SymI_HasProto(__iob_func))          \
-      RTS_WIN64_ONLY(SymI_HasProto(__mingw_vsnwprintf))  \
       /* see Note [Symbols for MinGW's printf] */        \
       SymI_HasProto(_lock_file)                          \
       SymI_HasProto(_unlock_file)



More information about the ghc-commits mailing list