[commit: ghc] master, wip/deploy-docs, wip/packaging-fail, wip/run-nofib, wip/windows-32bit: rts/RtsSymbols: Drop __mingw_vsnwprintf (ae38224)

git at git.haskell.org git at git.haskell.org
Thu Mar 21 17:00:48 UTC 2019


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

On branches: master,wip/deploy-docs,wip/packaging-fail,wip/run-nofib,wip/windows-32bit
Link       : http://ghc.haskell.org/trac/ghc/changeset/ae382245ea65bf8824db7f4dbab5ade78e6ed9dd/ghc

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

commit ae382245ea65bf8824db7f4dbab5ade78e6ed9dd
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.


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

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

diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index eb0322e..5f99dde 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