diff -r 9c352d34f5aa -r 683f4b1f08ce libraries/iosrv/client/command_base.cpp --- a/libraries/iosrv/client/command_base.cpp Thu Sep 09 15:38:45 2010 +0100 +++ b/libraries/iosrv/client/command_base.cpp Thu Sep 09 15:47:34 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; }