Le 04/12/2018 à 18:48, Seth Hillbrand a écrit : > Am 2018-12-04 11:00, schrieb Adam Wolf: >> Hi folks! >> >> My macOS build machines were offline over the weekend, and when I >> brought them back up yesterday, I now have a broken build. I am just >> reporting it now, in case someone has a few minutes to look into it, >> otherwise I will take a look sometime tonight. This is on master. >> >> 59b0f553e built fine, and then I was offline for a bit, and then >> ca5751fc4 does not work. >> >> The errors I am getting are like: >> >> ==> default: In file included from >> /vagrant/build/kicad/src/kicad/pcbnew/import_gfx/graphics_import_mgr.cpp:27: >> >> ==> default: >> /vagrant/build/kicad/src/kicad/pcbnew/import_gfx/dxf_import_plugin.h:148:16 >> >> ==> default: : error: no matching constructor for initialization of >> 'wxArrayString' >> ==> default: return wxArrayString( 1, { "dxf" } ); >> ==> default: ^ ~~~~~~~~~~~~ >> ==> default: >> /vagrant/build/wxwidgets-dest/include/wx-3.0/wx/arrstr.h:54:5: >> ==> default: note: candidate constructor not viable: no known >> conversion from 'const char [4]' to 'const char **' for 2nd argument > > Hi Adam- > > What is the clang++ version you are using? It should figure out that > the braces are cast to an array before removing them. But it looks like > it didn't. > > I've pushed a simple patch to give it a better hint. Let me know if > that fixes it for you. > > Best- > Seth
Hi Seth, I pushed an other fix, because your fix compiles but breaks the import gfx dialog (at least on Windows). -- Jean-Pierre CHARRAS _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp