Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Richard Dale
RE: Build failures with GCC 4.3 [ reply ]  
2007-12-20 14:14
I think this has been fixed in the kde svn version of qtruby. I didn't understand what the error messages were about, but as long as it's fixed I don't mind I suppose.

By: Vincent Fourmond
Build failures with GCC 4.3 [ reply ]  
2007-12-11 23:01
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.