<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Additional _MSVC version check needed in config.h because of snprintf"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93116">93116</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Additional _MSVC version check needed in config.h because of snprintf
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>j.rehborn@googlemail.com
</td>
</tr></table>
<p>
<div>
<pre>Currently "config.h" looks like this.
/* MS has defined snprintf as deprecated */
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
snprintf is now implemented by Microsoft with MSVC14/Win10SDK in "sdtio.h"
compiling fails because "stdio.h" contains a check if snprintf is defined
previous.
"config.h" should look like.
/* MS has defined snprintf as deprecated, but MSVC14/Win10SDK implements it
again. */
#ifdef _MSC_VER && _MSC_VER <= 1800
#define snprintf _snprintf
#endif</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>