magic
magic copied to clipboard
Line 2911 in CalmaWrite.c needs a "0" added to compile on Mac OS
Right now it reads:
return;
To compile on my Mac M1 running Big Sur, I had to change line 2911 to read
return 0;
so the compiler wouldn't complain about not returning a value.
Sorry I'm insufficiently well versed in the ways of GitHub at the moment to make this a proper pull request...
On a related note, I put together a video showing how to compile magic on macOS Big Sur:
https://youtu.be/5WzayqWoJ_w
It also includes a part where I fail to compile xschem, but that's another story for another repo. ;)
Thanks for the bug report. No pull request needed; I corrected this in the source and pushed it to the opencircuitdesign.com repository (the github mirror will update overnight). Cheers!