tags 564978 + patch
thanks

I just got this package to build with gcc 4.5 for Ubuntu, the fix was
relatively simple (and a definite bug in the source).

Attached.

SR
Description: Fix FTBFS with GCC 4.5, passing non-POD data to printf.
Author: Stefano Rivera <stef...@rivera.za.net>
Bug-Debian: http://bugs.debian.org/564978
Last-Update: 2010-11-08
--- a/ElmerGUI/PythonQt/src/PythonQtImporter.cpp
+++ b/ElmerGUI/PythonQt/src/PythonQtImporter.cpp
@@ -233,7 +233,7 @@
   Py_DECREF(code);
   if (Py_VerboseFlag)
     PySys_WriteStderr("import %s # loaded from %s\n",
-          fullname, modpath);
+          fullname, (char*)modpath.toLatin1().data());
   return mod;
 error:
   Py_DECREF(code);

Reply via email to