Oh please disregard my request for the btserial1.c source as you have already provided the btserial1.obj file. Including the btserial1.obj file for a fresh new project still gets me the original error encountered "Error  C:\Documents and Settings\siako\Desktop\zerowing_sms\app.c; 570. can't generate code for this expression"
Also checking for error 712,
(712) canít generate code for this expression (Code Generator)
This error indicates that a C expression is too difficult for the code generator to actually compile. For
successful code generation, the code generator must know how to compile an expression and there
must be enough resources (e.g. registers or temporary memory locations) available. Simplifying
the expression, e.g. using a temporary variable to hold an intermediate result, may get around this
message. Contact HI-TECH Support with details of this message.
This error may also be issued if the code being compiled is in some way unusual. For example
code which writes to a const-qualified object is illegal and will result in warning messages, but the
code generator may unsuccessfully try to produce code to perform the write.