kruton / tinyfugue

Tinyfugue MUD client (tf) with UTF-8 patches for Unicode MUDs.
http://tinyfugue.sourceforge.net/
Other
36 stars 21 forks source link

Build Problem with MacOS Catalina (10.15) #10

Closed lynxworx closed 3 years ago

lynxworx commented 4 years ago

Make fails with the following:

gcc -g -O2  -DDATADIR=/Users/xxxxx/Applications/local/share   -c -o macro.o macro.c
macro.c:235:63: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
    startopt(CS(args), "usSp#c#b:B:E:t:w:h:a:f:P:T:FiIn#1m:q" +
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
macro.c:235:63: note: use array indexing to silence this warning
    startopt(CS(args), "usSp#c#b:B:E:t:w:h:a:f:P:T:FiIn#1m:q" +
                                                              ^
                       &                                      [
1 warning generated.
gcc -g -O2  -DDATADIR=/Users/xxxxx/Applications/local/share   -c -o main.o main.c
gcc -g -O2  -DDATADIR=/Users/xxxxx/Applications/local/share   -c -o malloc.o malloc.c
malloc.c:15:1: error: unknown type name 'caddr_t'
caddr_t mmalloc_base = NULL;
^
1 error generated.
make[1]: *** [malloc.o] Error 1
make: *** [files] Error 2
warmstarter commented 3 years ago

I don't have a Mac to test this on for sure, but this should be fixed if you pull in the latest changes from this Github. If still interested, could you try that and let me know if it works for you or not. If it still has a problem, please include in an error message, but I think this should do it.