about the libc++ conversion
René J. V. Bertin
rjvbertin at gmail.com
Sat Jun 3 08:09:34 UTC 2017
Chris Jones wrote:
> type of object (std::string is a prime example) does not have the same
> implementation.
Do we have known examples that trigger the issue reliably?
As to the linker raising errors thanks to the use of different namespaces:
CMakeFiles/KDevPlatformShell.dir/plugincontroller.cpp.o: In function
`PluginController':
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-
kdevplatform-devel/work/kf5-kdevplatform-5/shell/plugincontroller.cpp:272:
undefined reference to `KPluginLoader::findPlugins(QString const&,
std::__1::function<bool (KPluginMetaData const&)>)'
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-
kdevplatform-devel/work/kf5-kdevplatform-5/shell/plugincontroller.cpp:288:
undefined reference to `KPluginLoader::findPlugins(QString const&,
std::__1::function<bool (KPluginMetaData const&)>)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
(building KDevPlatformShell with `clang -stdlib=libc++` on Linux and using
KPluginLoader from a library built with GCC 6.2/libstdc++.)
Thanks,
René
More information about the macports-dev
mailing list