<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:lrn1986@gmail.com" title="LRN <lrn1986@gmail.com>"> <span class="fn">LRN</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [W32] Many warnings about printf format all over the code when building with MinGW"
href="https://bugs.webkit.org/show_bug.cgi?id=143773">bug 143773</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Attachment #250820 Flags</td>
<td>
</td>
<td>review?
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [W32] Many warnings about printf format all over the code when building with MinGW"
href="https://bugs.webkit.org/show_bug.cgi?id=143773#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [W32] Many warnings about printf format all over the code when building with MinGW"
href="https://bugs.webkit.org/show_bug.cgi?id=143773">bug 143773</a>
from <span class="vcard"><a class="email" href="mailto:lrn1986@gmail.com" title="LRN <lrn1986@gmail.com>"> <span class="fn">LRN</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=250820&action=diff" name="attach_250820" title="Change printf format attribute to gnu_printf, MinGW compatibility">attachment 250820</a> <a href="attachment.cgi?id=250820&action=edit" title="Change printf format attribute to gnu_printf, MinGW compatibility">[details]</a></span>
Change printf format attribute to gnu_printf, MinGW compatibility
"printf" means "gnu_printf" when compiling for non-Windows and means
"ms_printf" when compiling for Windows. The code, however, does seems to be
assuming gnu_printf (judging by the use of %z and %l).
Fix this by explicitly specifying gnu_printf format style.
To ensure that gnu-compatible printf implementation is used, compile
with -D__USE_MINGW_ANSI_STDIO=1, it will automagically turn all *printf()
invocations into __mingw_*printf(), which are gnu-compatible.
Only one function that won't be turned is _vsnprintf(). Ifdef its use and
call vsnprintf() instead when __USE_MINGW_ANSI_STDIO != 0.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>