Subj : Compiling from source To : tenser From : Oli Date : Mon Jan 18 2021 10:43:30 tenser wrote (2021-01-18): Av>> The docs say there should be a suggested make shell script for gcc Av>> with it, but this seems to be missing in the zip. t> There is no `makefile` or `Makefile`? That's unfortunate. makespoon which is just g++ spoon.cpp config.cpp keyboard.cpp nntp.cpp pop.cpp smtp.cpp socket.cpp -o spoon t> 2) has itself been deprecated for almost 25 years t> (since the first official C++ standard in 1998) and compilers t> are starting to ship without it. The replacement is t> (without the ending ".h"), but you'll almost certainly have to t> add a, "using namespace std;" somewhere in source files that t> include it, as code that's old enough to use is t> probably also old enough to predate the widespread use of C++ t> namespaces. I think this is what I did some years ago. See https://gitlab.com/fidosoft/soupgate I still get warnings like: $ ./makespoon spoon.cpp:60:7: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch] FILE *logf = NULL; ^~~~ spoon.cpp: In function ‘void checkdir(char*)’: spoon.cpp:143:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] logprintf("FATAL ERROR: subdirectory %s does not exist\n", dir); but it compiles and run. t> Hmm. There really ought to be a Github organization or t> something for ancient BBS software updated to compile on t> modern systems. That's a good idea There is some software at https://github.com/ftnapps (which should compile) some I collected at https://github.com/fidosoft and https://gitlab.com/fidosoft, but many don't compile. It would be good to have people available who can help to get things build again. I think most of the time the errors are not very hard to fix, if you know C(++) and know what's changed over the years. For people without C experience (like me) it's sometimes hard to figure out how to fix it properly without introducing new bugs. Are there any limitations for organizations on the free github plan or is it good enough for public repos? (I only remember that I could do more with gitlab some years ago, but this was before Microsoft took over and was maybe related to private repos). --- * Origin: this message must NOT be gated to Telegram (21:3/102) .