[Bug 39694] New: sttarg.h and va_list problem
https://bugs.winehq.org/show_bug.cgi?id=39694 Bug ID: 39694 Summary: sttarg.h and va_list problem Product: Wine Version: 1.8-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: blake1024(a)gmail.com Distribution: --- Don't get this problem under Windows 32 or 64 bit nor 32 bit Wine. Only on 64 bit Wine. Building with 64 bit Wine on 64 bit Linux. Have code like this: #include <stdarg.h> ... ... vSetStringValue(object self, va_list _rest_) { char * fmt = va_arg(_rest_, char *); char *buf = gGetBuf(Application); MAKE_REST(fmt); vsprintf(buf, fmt, _rest_); ... } I get this: StatusWindow.d: In function ‘StatusWindow_ivm_vSetStringValue’: StatusWindow.d:115:2: warning: passing argument 3 of ‘vsprintf’ from incompatible pointer type [enabled by default] vsprintf(buf, fmt, _rest_); ^ In file included from ../include/dynl.h:110:0, from ../include/generics.h:55, from StatusWindow.c:42: /usr/include/wine/msvcrt/stdio.h:182:16: note: expected ‘__builtin_ms_va_list’ but argument is of type ‘struct __va_list_tag *’ int __cdecl vsprintf(char*,const char*,__ms_va_list); ^ Thanks. Blake McBride -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39694 Blake McBride <blake1024(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blake1024(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39694 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase, | |win64 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39694 Sergey Isakov <isakov-sl(a)bk.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl(a)bk.ru --- Comment #1 from Sergey Isakov <isakov-sl(a)bk.ru> --- This is continue for bug 39580. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39694 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|sttarg.h and va_list |stdarg.h and va_list |problem |problem -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39694 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla