Bug 985189 - GCC6: licq fails to build
GCC6: licq fails to build
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Lubos Lunak
E-mail List
:
Depends on:
Blocks: 984984
  Show dependency treegraph
 
Reported: 2016-06-16 14:02 UTC by Dominique Leuenberger
Modified: 2016-07-14 11:27 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 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.