diff -r e07366cad0b2 -r ea6622dea85a libraries/iosrv/client/command_base.cpp --- a/libraries/iosrv/client/command_base.cpp Wed Sep 01 17:56:27 2010 +0100 +++ b/libraries/iosrv/client/command_base.cpp Tue Sep 07 20:04:42 2010 +0100 @@ -3632,7 +3632,9 @@ return iProcess; } -#define CASE_RETURN_LIT(XXX) case XXX: { _LIT(_KLit, #XXX); return &_KLit; } +// Really should define a standard CASE_LIT macro that every compiler can handle... +#include +#define CASE_RETURN_LIT(x) case x: { static const LtkUtils::SLitC KName = DESC(#x); return &KName; } #define CASE_RETURN_LIT2(XXX, YYY) case XXX: { _LIT(_KLit, YYY); return &_KLit; } #define DEFAULT_RETURN_LIT(XXX) default: { _LIT(_KLit, XXX); return &_KLit; }