Bug 985189

Summary: GCC6: licq fails to build
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: OtherAssignee: Lubos Lunak <l.lunak>
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 14:02:11 UTC
Since the update to GCC6, openSUSE:Factory/ licq fails to build
Comment 1 Marguerite Su 2016-07-07 09:57:52 UTC
in C++11 which is now default in GCC 6, shared_ptr has a bool operator that returns if the shared_ptr is a null pointer,
so the return type is not bool anymore. use an expression to return bool type, eg:

- bool loaded = LoadPlugin(pluginName, argc, argv);
+ bool loaded = (LoadPlugin(pluginName, argc, argv) != nullptr);

fixed in https://build.opensuse.org/request/show/407093
Comment 2 Lubos Lunak 2016-07-14 11:27:03 UTC
This has been fixed now in the network repository, but as far as I can tell licq has been meanwhile removed from Factory, so I cannot submit the package further.