Hello,

I just tested compilation on ubuntu 16.04. It's not compiling with this error:

/home/ceztko/projects/current/PoDoFo/src/base/PdfObjectStreamParserObject.cpp:
In member function ‘void
PoDoFo::PdfObjectStreamParserObject::ReadObjectsFromStream(char*,
PoDoFo::pdf_long, PoDoFo::pdf_int64, PoDoFo::pdf_int64, const
ObjectIdList&)’:
/home/ceztko/projects/current/PoDoFo/src/base/PdfObjectStreamParserObject.cpp:98:23:
error: ‘numeric_limits’ is not a member of ‘std’
         if( lFirst >= std::numeric_limits<pdf_int64>::max() - lOff )

The attached patch just include #include <limits> which seems the
correct header where to find std::numeric_limits[1].

Cheers,
Francesco

[1] http://en.cppreference.com/w/cpp/types/numeric_limits

Attachment: PdfObjectStreamParserObject-compilation-fix-ubuntu-16.04.patch
Description: Binary data

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to