On Jul 3, 2022, at 4:20 PM, Tormod Volden tormod@users.sourceforge.net wrote: anyone with a modern Window PC would have defaulted to OneDrive Good grief, I hope you are not right, and I think you aren't. I’ve reinstalled my Work DELL laptop so many times — it’s been back in the shop 6 or 7 times, and each time I get it back I do a Restart and fresh install to make sure nothing got “put” on my machine. And if you just go through all the defaults, it wants you to specify a Microsoft login, and it sets...
Is this documented? As it stands today, anyone with a modern Window PC would have defaulted to OneDrive, and would be unable to build this. Likewise, anyone with a modern Mac, with iCloud on by default, would be unable to build this. At the very least, this needs to be documented. I consider myself a far more advanced user than most, and it's bitten me on both operating systems. And if it can be fixed simply by adding quotes around things in makefiles, why don't we just do that and solve it for everyone?...
This hit me again tonight when I started trying to get NitrOS9 going ;-) It's the first time I've tried to build from an iCloud drive on Mac, and it has the same issue any Windows system with OneDrive has -- space in the path name, darnit.
By applying some (unsigned char) casting (and a few extra parens in some spots, that got me closer. I am getting an issue in makewave.c about digittoint() as well: ../../../makewav/makewav.c:444:34: error: implicit declaration of function ‘digittoint’ [-Werror=implicit-function-declaration] I added a prototype, but had to do it outside here: int digittoint(int c); #if defined(__CYGWIN32__) || defined(__linux__) || defined(WIN32) /* implemented based on OSX man page */ That gets me a good build. But...
Since it is unbuildable for anyone else who tries and doesn't end up here, I still think some kind of fix is needed (or at least documentation somewhere about this). How does one set CFLAGS?
Glad it's not just me. I was trying to build everything on MinGW, but I ran in to errors there, as well. I think it was with LWTOOLS, complaining about "sys/wait.h". I am trying to write up definitive step-by-step guides with screen shots for my website.