Git Product home page Git Product logo

Comments (7)

aassif avatar aassif commented on June 14, 2024

Does your toolchain support C++17?

from pvr.freebox.

mkreisl avatar mkreisl commented on June 14, 2024

Does your toolchain support C++17?

Partly, see https://gcc.gnu.org/projects/cxx-status.html#cxx17

I don't think that this is good idea to write an addon which requires fully supported C++17. If you look to all other binary addons, the highest required C++ is 14. And GCC marked C++17 still as experimental:

Important: Because the final ISO C++17 standard is still new, GCC's support is experimental. No attempt will be made to maintain backward compatibility with implementations of C++17 features that do not reflect the final standard

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

Well, structured bindings are part of the C++17 final standard and I believe new addons should follow new standards.
Anyway, it's an easy fix and I'll gladly provide support for C++14 :)

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

Kodi build env is still c++11. Just saying.

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

@mkreisl Should be fixed. Could you please confirm?

from pvr.freebox.

mkreisl avatar mkreisl commented on June 14, 2024

Kodi build env is still c++11. Just saying.

Yes, I know that. Was just doing a quick grep for CMAKE_CXX_STANDARD in my binary addon tree and found a lot of set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") and was not deeper investigating what that setting does

from pvr.freebox.

mkreisl avatar mkreisl commented on June 14, 2024

Should be fixed. Could you please confirm?

Yes, it is fixed now. Many thanks for your fast response. I really appreciate that

👍

from pvr.freebox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.