I got an error in last build attempt.
maxcoin.cpp: In function int scanhash_keccak(int, uint32_t*, const uint32_t*, uint32_t, timeval*, timeval*, long unsigned int*):
maxcoin.cpp:90:42: error: min was not declared in this scope
pdata[19] = min(max_nonce, n-throughput); // CB: don't report values bigger max_nonce
Hmm. I edited the lines and replace min (x,y) with if and it appears to compile without problems, and running so far.
I am running with -D flag, though I stil do not know the percentage of accepted shares.