Hello,

The actual error message is:

In file included from PythonScriptFactory.cpp:21:0:
PythonScriptFactory_impl.h: In member function 'int PythonScriptFactory<T>::addScript(T*) const': PythonScriptFactory_impl.h:59:25: error: there are no arguments to 'Create_PyScript' that depend on a template parameter, so a declaration of 'Create_PyScript' must be available [-fpermissive]
     PyObject * script = Create_PyScript(wrapper, this->m_class);
                         ^~~~~~~~~~~~~~~
PythonScriptFactory_impl.h:59:25: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)


I found a similar bug in Fedora bug tracker. I think the Fedora packager fixed the compilation by adding "-fpermissive" (even though the changelog and commit message don't mention the bug).

https://bugzilla.redhat.com/show_bug.cgi?id=1423321
https://src.fedoraproject.org/rpms/cyphesis/c/ec8c1c9b00282028ea741ee5acaac9276670d4c9


With best regards,
Juhani

Reply via email to