[NTG-pdftex] gcc 4.1.2 at ubuntu breaks pdftex

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Sat Oct 6 11:23:27 CEST 2007


Hi,

I'm using the following change on Windows because
pdftex crashes on Windows 2000 if I use non-argument
version of GlobalParams(). 
Probably it is not related to the present problem.

Best regards,
Akira

--- pdftoepdf.cc.orig	Mon Jul 09 19:10:07 2007
+++ pdftoepdf.cc	Sat Oct 06 18:08:37 2007
@@ -678,7 +678,15 @@
     float pdf_version_found, pdf_version_wanted;
     // initialize
     if (!isInit) {
+//
+// access violation on Windows 2000
+// in the case of GlobalParams();
+//
+#ifdef WIN32
+        globalParams = new GlobalParams(0);
+#else
         globalParams = new GlobalParams();
+#endif
         globalParams->setErrQuiet(gFalse);
         isInit = gTrue;
     }


More information about the ntg-pdftex mailing list