[OE-core] [PATCH] vte-native: reduce c++ requirements from c++17 -> c++11

Andreas Müller schnitzeltony at gmail.com
Mon Apr 29 12:21:37 UTC 2019


On Mon, Apr 29, 2019 at 12:56 PM Bas Mevissen <abuse at basmevissen.nl> wrote:
>
> On 2019-04-29 11:29, Andreas Müller wrote:
>
> (...)
>
> >>
> > Understood - hope to find time till tomorrow for this. Need to find an
> > old machine for test because otherwise further fixes might remain
> > incomplete again.
> >
>
> Why not add the g++ option --std=c++11 when test building this recipe?
>
> $cat test.cc
>
> #include <string>
>
> using namespace std::literals;
>
> int main()
> {
>         return 0;
> }
>
>
> $ g++ --std=c++17 test.cc -o test
> $ g++ --std=c++11 test.cc -o test
> test.cc:5:22: error: ‘literals’ is not a namespace-name
>      5 | using namespace std::literals;
>        |                      ^~~~~~~~
>
> -- Bas.
Did that but on CFLAGS (copy & paste from another place in recipe) and
since issues popped up I thought it was right :(

Andreas


More information about the Openembedded-core mailing list