Re: [Kicad-developers] Deprecation warnings with GCC 12

2022-01-26 Thread Steven A. Falco

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

Steve

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.

-Ian

On Tue, Jan 25, 2022 at 10:46 PM Steven A. Falco mailto:stevenfa...@gmail.com>> 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 struct std::binary_function' 
is deprecated [-Wdeprecated-declarations]

and

/builddir/build/BUILD/kicad-6.0.1/include/hashtables.h:80:29: warning: 
'template 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 


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

         Steve

___
Mailing list: https://launchpad.net/~kicad-developers 

Post to     : kicad-developers@lists.launchpad.net 

Unsubscribe : https://launchpad.net/~kicad-developers 

More help   : https://help.launchpad.net/ListHelp 





___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Deprecation warnings with GCC 12

2022-01-26 Thread Ian McInerney
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.

-Ian

On Tue, Jan 25, 2022 at 10:46 PM Steven A. Falco 
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 struct
> std::binary_function' is deprecated [-Wdeprecated-declarations]
>
> and
>
> /builddir/build/BUILD/kicad-6.0.1/include/hashtables.h:80:29: warning:
> 'template 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
>
> Should I write this up as an issue, or should it be ignored for now?
>
> Steve
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Deprecation warnings with GCC 12

2022-01-25 Thread Steven A. Falco

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 struct std::binary_function' 
is deprecated [-Wdeprecated-declarations]

and

/builddir/build/BUILD/kicad-6.0.1/include/hashtables.h:80:29: warning: 
'template 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

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

Steve

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp