kicad-developers team mailing list archive
Mailing list archive
Re: Why is -Wno-deprecated-declarations defined
The commit that did it is this one from 2014:
but the log is literally just: "disable deprecation warnings in Debug
build, change message in fp_lib_table.cpp," so I don't know what the actual
reasoning behind the change was.
On Sat, Dec 28, 2019 at 2:18 PM Nick Østergaard <oe.nick@xxxxxxxxx> wrote:
> 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>
> > 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