Opened 21 months ago

#366 new defect

Windows Visual Studio 2013 compile error

Reported by: sam.kapilivsky@… Owned by: jtv
Priority: normal Component: other
Severity: Breaks Keywords: Windows


largeobject.hxx depends on std::min and std::max. In newer versions of the VS compilers, these constants are defined in <algorithm>.

Proposed fix:

Add the following in largeobject.hxx:

#ifdef PQXX_STD_MIN_MAX_IN_ALGORITHM #include <algorithm> #endif

Change History (0)

Note: See TracTickets for help on using tickets.