Bug 985241 - GCC6: vym fails to build
GCC6: vym fails to build
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Uwe Drechsel
E-mail List
:
Depends on:
Blocks: 984984
  Show dependency treegraph
 
Reported: 2016-06-16 17:27 UTC by Dominique Leuenberger
Modified: 2016-06-20 18:59 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2016-06-16 17:27:26 UTC
Since the update to GCC6, openSUSE:Factory/ vym fails to build
Comment 1 Marguerite Su 2016-06-20 17:04:22 UTC
[  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.
Comment 2 Marguerite Su 2016-06-20 17:07:04 UTC
fixed in https://build.opensuse.org/request/show/403737
Comment 3 Uwe Drechsel 2016-06-20 18:59:55 UTC
Thanks! Seems to be working upstream already (dev version 2.5.8...)