What | Removed | Added |
---|---|---|
Status | NEW | IN_PROGRESS |
CC | i@marguerite.su |
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