[MinGW-Notify] [mingw] #40378: g++ emits multiple publicly visible instances of vsnprintf()

Back to archive index
MinGW Notification List mingw****@lists*****
Sun May 3 07:23:02 JST 2020


#40378: g++ emits multiple publicly visible instances of vsnprintf()

  Open Date: 2020-05-02 21:28
Last Update: 2020-05-02 23:23

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/40378
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40378

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-05-02 23:23 Updated by: keith
 * Resolution Update from None to Out of Date

 * Component Update from (None) to WSL


Comment:

Today, you should be using MinGW's GCC-9.2.0 release, and mingwrt-5.3.1/
w32api-5.3.1.

This appears to be a duplicate of ticket #39757, which I raised myself,
following up on the e-mails to which you refer, and subsequently closed as
"fixed", for mingwrt-5.2.3. Unless you can provide a formal test case, to
demonstrate that the #39757 resolution was not effective, when compiling with
current tools, I will close this as an "out of date" duplicate.



---------------------------------------------------------------------
Ticket Status:

      Reporter: jrromanow
         Owner: (None)
          Type: Issues
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: Out of Date
---------------------------------------------------------------------

Ticket details:

Per Keith (see https://osdn.net/projects/mingw/lists/archive/users/2019-August/
000334.html), the changes to <stdio.h>, to resolve https://osdn.net/projects/
mingw/ticket/39224, cause g++ to emit multiple publicly visible instances of
vsnprintf()

As a result, I get this link error: c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../..
/../../mingw32/bin/ld.exe: c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../..\
libmingwex.a(vsnprintf.o):(.text+0x0): multiple definition of vsnprintf;
Sudoku16.o:c:/mingw/include/stdio.h:491: first defined here

Note that, contrary to statements in messages following the one I referred
above, I continue to get the link error after downgrading to mingwrt-5.2.1 and
also mingwrt-5.1.1

So, per Keith's request in the above message, I'm opening a formal request to
hopefully get this resolved.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/40378
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40378



More information about the MinGW-Notify mailing list
Back to archive index