Hi Is any compiler command to avoid redefinition error C231 ?
p.s. http://www.keil.com/support/man/docs/c51/c51_c231.htm
No, you'll have to rely on own skill and not redefine the same symbol names.
The error isn't there to let you optionally turn it off. The error is there to tell you to fix your code.