kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #41467
Compil issue due to commit 36f1d023
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
Follow ups