I got bored so was messing around with the stock SWR1.2 FUSS base and decided to update it to include the bugfixes since the latest update, as well as including the GCC 4.4 compliance. Well, firstly, there is no mudstrlcpy function in swr12fuss. So that causes a problem, although minor and easy to fix..
Also this code:
sptr = one_argument( sptr, word1 );
sptr = one_argument( sptr, word2 );
Outputs this error:
build.c:4809: error: passing argument 1 of 'one_argument' discards qualifiers from pointer target type
build.c:4810: error: passing argument 1 of 'one_argument' discards qualifiers from pointer target type
I know this is what the SMAUG code looks like, which compiles fine. Not sure why it doesn't compile in SWR. Any ideas?