<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 - Fix builds with Visual Studio 2003"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88511">88511</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Fix builds with Visual Studio 2003
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</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>szekerest@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>When building poppler with VS2013, the following errors occur at many places:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(494) :
error C2039: 'max' : is not a member of 'std'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(495) :
error C2039: 'min' : is not a member of 'std'
Due to a breaking change in VS2003, you must use #include <algorithm> when you
call std::min() or std::max()
For more information refer to the STL section of the following document:
<a href="http://msdn.microsoft.com/en-us/library/vstudio/bb531344%28v=vs.120%29.aspx">http://msdn.microsoft.com/en-us/library/vstudio/bb531344%28v=vs.120%29.aspx</a></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>