[OE-core] [PATCH 02/15] libdnf: upgrade 0.28.1 -> 0.38.1

Khem Raj raj.khem at gmail.com
Mon Dec 2 23:25:04 UTC 2019


On Mon, Dec 2, 2019 at 2:55 PM Adrian Bunk <bunk at stusta.de> wrote:
>
> On Mon, Dec 02, 2019 at 02:44:47PM -0800, Khem Raj wrote:
> > On Mon, Dec 2, 2019 at 7:25 AM Alexander Kanavin <alex.kanavin at gmail.com> wrote:
> > >
> > > It's using -std=c++11. I'm not sure if switching to gnu flavour would have made a difference with gcc 4.8 provided in centos 7 and gcc 4.9 from Debian 8 - is it worth trying? Newer gcc versions don't complain and build this without error while still using -std=c++11.
> > >
> > > I'm leaning towards taking out the dnf/libdnf updates until these distros are retired from the supported distro list.
> >
> > try adding #include <atomic> in libdnf/dnf-context.cpp
>
> Same failure.

#include <atomic>
int foo(){
  std::atomic_flag cfgMainLoaded = ATOMIC_FLAG_INIT;
}

does above example compile fine with
 g++-4.8 -c -std=c++11

>
> cu
> Adrian


More information about the Openembedded-core mailing list