← 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
==> default:
==> default: : error: no matching constructor for initialization of
==> default:         return wxArrayString( 1, { "dxf" } );
==> default:                ^              ~~~~~~~~~~~~
==> default:
==> 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.


Follow ups