← Back to team overview

kicad-developers team mailing list archive

Re: Why is -Wno-deprecated-declarations defined


What does the git log tell you?

I once did it in my build scripts because of:

# Add flag to silence deprecation warnings
# Due to bug in gcc 5.1,5.2
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65974

So it would spew out a tremendous amount of unrelated warnings and was
useless. Maybe it was added because of that? Now, I don't think we
should use that globally.

On Sat, 28 Dec 2019 at 15:09, Ian McInerney <Ian.S.McInerney@xxxxxxxx> wrote:
> Is there a reason we disable warnings on deprecated declarations in debug mode? Other than a lot of warnings about OpenGL being deprecated on MacOS (gee, thanks Apple) that we can turn off pretty easily, I see no reason we should be forcing this in our CMakeLists. I tried tracing this back through the git history, but it is difficult to see why it was added.
> -Ian
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

Follow ups