← Back to team overview

kicad-developers team mailing list archive

Re: Deprecation warnings with GCC 12


Thanks, Ian.  I'll ignore the warnings then.


On 1/26/22 09:04 AM, Ian McInerney wrote:
Hi Steve,

These warnings have already been addressed in the master branch because we switched to C++17 (so those deprecated functions were removed and no longer available). We didn't cherry-pick the change to v6 though, because it was more of a cleanup than a bug fix (and v6 is staying with C++14, so it will always have those functions). I think you could safely ignore the warnings in the build with the understanding they will be fixed in v7.


On Tue, Jan 25, 2022 at 10:46 PM Steven A. Falco <stevenfalco@xxxxxxxxx <mailto:stevenfalco@xxxxxxxxx>> wrote:

    I don't know if anyone is currently interested in deprecation warnings with GCC 12, but I'm seeing messages like:

    /builddir/build/BUILD/kicad-6.0.1/include/hashtables.h:36:25: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations]


    /builddir/build/BUILD/kicad-6.0.1/include/hashtables.h:80:29: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]

    when building with GCC 12.  I'm not a C++ developer so I don't know how significant these are.

    A full log is available here: https://kojipkgs.fedoraproject.org//work/tasks/7031/81867031/build.log <https://kojipkgs.fedoraproject.org//work/tasks/7031/81867031/build.log>

    Should I write this up as an issue, or should it be ignored for now?


    Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
    Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
    More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>