kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #44124
Windows msys2 build error
I'm seeing the following build error this morning on windows using msys2:
C:/msys64/home/Wayne/src/kicad-trunk/include/ws_draw_item.h:463:55:
error: cannot convert 'std::vector<WS_DRAW_ITEM_BASE*>::iterator' to
'const char*'
463 | auto newEnd = std::remove( m_graphicList.begin(),
m_graphicList.end(), aItem );
| ~~~~~~~~~~~~~~~~~~~^~
| |
|
std::vector<WS_DRAW_ITEM_BASE*>::iterator
In file included from C:/msys64/mingw64/include/wx-3.0/wx/string.h:39,
from C:/msys64/mingw64/include/wx-3.0/wx/memory.h:15,
from C:/msys64/mingw64/include/wx-3.0/wx/object.h:19,
from C:/msys64/mingw64/include/wx-3.0/wx/wx.h:15,
from
C:/msys64/home/Wayne/src/kicad-trunk/include/fctsys.h:28,
from
C:/msys64/home/Wayne/src/kicad-trunk/common/page_layout/ws_data_model.cpp:47:
C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:752:34: note:
initializing argument 1 of 'int remove(const char*)'
752 | int __cdecl remove(const char *_Filename);
| ~~~~~~~~~~~~^~~~~~~~~
make[2]: *** [common/CMakeFiles/common.dir/build.make:957:
common/CMakeFiles/common.dir/page_layout/ws_data_model.cpp.obj] Error 1
Follow ups