Bugzilla – Bug 985241
GCC6: vym fails to build
Last modified: 2016-06-20 18:59:55 UTC
Since the update to GCC6, openSUSE:Factory/ vym fails to build
[ 101s] exports.cpp:1001:41: error: no matching function for call to 'VymModel::exportXML(QString, bool)'
[ 101s] model->exportXML(tmpDir.path(),false);
[ 101s] ^
[ 101s] In file included from exports.h:9:0,
[ 101s] from exports.cpp:1:
[ 101s] vymmodel.h:538:10: note: candidate: void VymModel::exportXML(QString, QString, bool)
[ 101s] void exportXML(QString dir="", QString fname="", bool useDialog=true);
[ 101s] ^~~~~~~~~
[ 101s] vymmodel.h:538:10: note: no known conversion for argument 2 from 'bool' to 'QString'
This is easy to fix.
Actually the bool value is the 3rd argument, which was treated as the 2nd.
Just add a NULL or "" might help.
fixed in https://build.opensuse.org/request/show/403737
Thanks! Seems to be working upstream already (dev version 2.5.8...)