← Back to team overview

kicad-developers team mailing list archive

Macos build breakage with the connectivity algo merge

 

Hello Maciej and Tomasz,

It seems like the merge of the connectivity alogorithm stuff broke the
macos build [1]. Sorry for only noticing this after a week, but I have now
added the list to the build error notification.

That is when  4bdac4d..72eff09 was added.

Snippet from build error is:

*00:03:05.024* [ 41%] Building CXX object
common/CMakeFiles/pcbcommon.dir/__/pcbnew/collectors.cpp.o*00:03:06.106*
/Volumes/SSD/workspace/osx-kicad-adam-head/kicad/pcbnew/connectivity_algo.cpp:753:21:
error: cannot cast from type 'wxString' to pointer type 'const char
*'*00:03:06.106*                     (const char*)
cluster->OriginNetName() );*00:03:06.106*
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*00:03:06.112*
/Volumes/SSD/workspace/osx-kicad-adam-head/kicad/pcbnew/connectivity_algo.cpp:772:47:
error: cannot cast from type 'wxString' to pointer type 'const char
*'*00:03:06.112*                         cluster->OriginNet(), (const
char*) cluster->OriginNetName() );*00:03:06.112*

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*00:03:07.363* 2 errors
generated.

Regards
Nick Østergaard


[1] http://ci.kicad-pcb.org/job/osx-kicad-adam-head/327/consoleFull

Follow ups