← Back to team overview

kicad-developers team mailing list archive

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

 

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


Follow ups

References