← Back to team overview

kicad-developers team mailing list archive

Re: build broken on macOS

 

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


Follow ups

References