Bug 985241

Summary: GCC6: vym fails to build
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: OtherAssignee: Uwe Drechsel <vym>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: i
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 984984    

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...)