[poppler] patches for pdfinfo/pdffonts cannot process >2GB files

Thomas Freitag Thomas.Freitag at kabelmail.de
Sun Jan 27 06:08:38 PST 2013


XRef.cc is no more compilable with VC 9 in actual git master. Reason for 
it is, that the use of max() in

std::numeric_limits<Goffset>::max()

conflicts with the macro max.

#ifdef _WIN32
#undef max
#endif
     if (offset > (unsigned long 
long)std::numeric_limits<Goffset>::max()) {

solves it!

Cheers,
Thomas



More information about the poppler mailing list