← Back to team overview

kicad-developers team mailing list archive

Re: avoid gcc 5.1, 5.2 for kicad building with -Wall

 

I am still curious as to why the option is set for debug builds and not
release builds. I would really have expected the opposite.
Den 26/08/2015 08.08 skrev "jp charras" <jp.charras@xxxxxxxxxx>:

> Le 26/08/2015 01:59, Mark Roszko a écrit :
> > Gcc 5.1,5.2 introduced a fun bug. It will throw an warning on every
> > function with the deprecated attribute as long as they are declared
> > and regardless if they are used or not. The problem is wxwidgets has
> > alot of the attributes in its headers and building kicad against it
> > will result in half a gig log file.
> >
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65974
> >
> > Its fixed a bit over a week ago but probably won't appear until 5.3.
> >
>
> Currently, until Gcc 5.3 is available, you can use -Wall, with this
> option when calling cmake:
> cmake -DCMAKE_CXX_FLAGS=-Wno-deprecated-declarations ....
>
> --
> Jean-Pierre CHARRAS
>
> _______________________________________________
> 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
>

References