I am trying to compile the freeciv server for OS X. I had one problem where I had to change some memcpy calls but that was easy to fix. Now I'm stumped.
The error is
common/city.c:97: bad macro argument list
common/city.c:97: bad macro argument list
common/city.c:97: bad macro argument list
common/city.c:97: bad macro argument list
common/city.c:97: bad macro argument list
common/city.c:97: bad macro argument list
common/city.c:97: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
and then the make dies. I've edited common/city.c and line 97 is somewhere in the middle of an array of strings. But the weird thing is, no matter what I do, it is always line 97 where there is an error. For example, I deleted about 20 lines of comments from the top of the file, saved and compiled cc -E common/city.c, and the exact same error message pops up.
Does anyone know enough about how C works to tell me what's happening? I really have edited the file I am compiling -- I've checked about 50 times to make sure they're the same file. I don't know why it is talking about a macro argument list. There aren't any macro in the .c file. There are several in the .h file but there is nothing obviously wrong with them.