|
Bugzilla – Full Text Bug Listing |
| Summary: | GCC6: licq fails to build | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Dominique Leuenberger <dimstar> |
| Component: | Other | Assignee: | 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
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 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. |