← Back to team overview

kicad-developers team mailing list archive

Re: Compil issue due to commit 36f1d023

 

Oops, those were supposed to be tool IDs.

I’ve pushed another commit.  Let me know if it still doesn’t compile (the LLDB compiler is much more aggressive about auto-type-casting).

> On 9 Jul 2019, at 16:44, jp charras <jp.charras@xxxxxxxxxx> wrote:
> 
> This commit creates 2 similar issues:
> the first issue is:
> 
> F:/kicad-launchpad/git_testing/pcbnew/tools/edit_tool.cpp:1299:24:
> error: cannot convert 'const wxString' to 'const string&' {aka 'const
> std::__cxx11::basic_string<char>&'}
> 1299 |     frame()->PushTool( _( "Select reference point for the
> copy..." ) );
>      |                        ^
>      |                        |
>      |                        const wxString
> In file included from
> F:/kicad-launchpad/git_testing/include/pcb_base_frame.h:38,
>                 from
> F:/kicad-launchpad/git_testing/pcbnew/pcb_base_edit_frame.h:28,
>                 from
> F:/kicad-launchpad/git_testing/pcbnew/pcb_edit_frame.h:26,
>                 from
> F:/kicad-launchpad/git_testing/pcbnew/tools/edit_tool.cpp:34:
> F:/kicad-launchpad/git_testing/include/eda_draw_frame.h:310:47: note:
> initializing argument 1 of 'virtual void EDA_DRAW_FRAME::PushTool(const
> string&)'
>  310 |     virtual void PushTool( const std::string& actionName );
> 
> 
> I have also some trouble with a translated string trying to be stored in
> a std::string.
> This is not possible.
> 
> -- 
> 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