https://bugs.winehq.org/show_bug.cgi?id=45913
Bug ID: 45913 Summary: tchar.h: using the macro _sntprintf leads to an undefined reference to snwprintf; macro should resolve to _snwprintf Product: Wine Version: unspecified Hardware: arm OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winelib Assignee: wine-bugs@winehq.org Reporter: contact@ivanchev.net Distribution: ---
According to MSDN (https://msdn.microsoft.com/en-us/library/2ts7cx93.aspx) the following macro definition in tchar.h:
#define _sntprintf WINE_tchar_routine(snprintf, snprintf, snwprintf)
is missing an underscore at the beginning snwprintf
#define _sntprintf WINE_tchar_routine(snprintf, snprintf, _snwprintf).
https://bugs.winehq.org/show_bug.cgi?id=45913
Mihail Ivanchev contact@ivanchev.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winelib |-unknown
https://bugs.winehq.org/show_bug.cgi?id=45913
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |nerv@dawncrow.de
--- Comment #1 from André H. nerv@dawncrow.de --- Hi Mihail,
I can't find a snwprintf function without underscore in Wine, so this seems very valid, please send a patch to wine-devel, see https://wiki.winehq.org/Submitting_Patches
https://bugs.winehq.org/show_bug.cgi?id=45913
--- Comment #2 from Mathew Hodson mathew.hodson@gmail.com --- This was committed.
https://source.winehq.org/git/wine.git/commitdiff/f17df0543d5a19408e87cc8eb2...
https://bugs.winehq.org/show_bug.cgi?id=45913
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |f17df0543d5a19408e87cc8eb23 | |c576aa2af6178 Status|NEW |RESOLVED
--- Comment #3 from André H. nerv@dawncrow.de --- marking fixed
https://bugs.winehq.org/show_bug.cgi?id=45913
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.21.
https://bugs.winehq.org/show_bug.cgi?id=45913
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=45913
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bug fixes included in 3.0.5.