[Poppler-bugs] [Bug 88511] New: Fix builds with Visual Studio 2003

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 16 14:01:48 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88511

            Bug ID: 88511
           Summary: Fix builds with Visual Studio 2003
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: Windows (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: szekerest at gmail.com

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:
http://msdn.microsoft.com/en-us/library/vstudio/bb531344%28v=vs.120%29.aspx

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150116/5c3d7004/attachment.html>


More information about the Poppler-bugs mailing list