kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43559
Re: [commit 85c2e0d2] pcbnew/drc/drc_tree_model.cpp
Le 04/03/2020 à 10:44, BERTRAND Joël a écrit :
> Hello,
>
> With gcc version 9.2.1 20200224, current master compilation fails with :
>
> /home/bertrand/git/kicad/pcbnew/drc/drc_tree_model.cpp:201:54: error:
> operands to ?: have different types ‘const wxString’ and ‘const wxChar*’
> {aka ‘const wchar_t*’}
> 201 | excluded ? _(
> "Excluded " ) : wxEmptyString,
> |
> ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /home/bertrand/git/kicad/pcbnew/drc/drc_tree_model.cpp:201:54: note:
> and each type can be converted to the other
>
> This patch was introduced by 85c2e0d2. I haven't tried to build kicad
> with older version of gcc.
>
> Best regards,
>
> JB
I just committed a fix for that, and for other issues on Windows (colliding definitions)
--
Jean-Pierre CHARRAS
Follow ups
References