Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: specialization of ‘template<class _Tp> struct std::default_delete’ in different namespace [-fpermissive] #733

Closed
kanavin opened this issue May 21, 2019 · 1 comment

Comments

@kanavin
Copy link
Contributor

kanavin commented May 21, 2019

With older gcc versions (e.g. 6.3 in Debian 9) Yocto Project is seeing this:

| /home/pokybuild/yocto-worker/build-appliance/build/build/tmp/work/x86_64-linux/libdnf-native/0.33.0-r0/git/libdnf/sack/query.cpp:54:13: error: specialization of ‘template struct std::default_delete’ in different namespace [-fpermissive]
| struct std::default_delete {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/c++/6/memory:81:0,
| from /home/pokybuild/yocto-worker/build-appliance/build/build/tmp/work/x86_64-linux/libdnf-native/0.33.0-r0/git/libdnf/sack/advisory.hpp:25,
| from /home/pokybuild/yocto-worker/build-appliance/build/build/tmp/work/x86_64-linux/libdnf-native/0.33.0-r0/git/libdnf/utils/utils.hpp:10,
| from /home/pokybuild/yocto-worker/build-appliance/build/build/tmp/work/x86_64-linux/libdnf-native/0.33.0-r0/git/libdnf/sack/query.cpp:21:
| /usr/include/c++/6/bits/unique_ptr.h:54:12: error: from definition of ‘template struct std::default_delete’ [-fpermissive]
| struct default_delete
| ^~~~~~~~~~~~~~

Full log:
https://autobuilder.yoctoproject.org/typhoon/#/builders/23/builds/850/steps/7/logs/step2b

@jrohel
Copy link
Contributor

jrohel commented Aug 27, 2019

The issue was solved 0ec7608

@jrohel jrohel closed this as completed Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants