Qt4-qtruby currently fails to build with GCC 4.3, which implements much stricter checks on the conformity of C++ code compared to previous versions. There is essentially one repeated problem. In:
template <class T> static void marshall_from_ruby(Marshall *m)
The static storage class is not allowed here, and it triggers the error:
error: explicit template specialization cannot have a storage class
Removing all static in these places fixes it. I can provide a patch for that if you want.
|