diff -r 482757737e59 -r 5d370dafea69 commands/localdrive/localdrive.cpp --- a/commands/localdrive/localdrive.cpp Thu Aug 05 12:06:56 2010 +0100 +++ b/commands/localdrive/localdrive.cpp Fri Aug 06 17:00:19 2010 +0100 @@ -84,7 +84,7 @@ // More GCC issues (see qresources3\src\utils.cpp). Happily the compiler is happier with SLitC and DESC than it is with TLitC and _LIT #include -#define CASE_LIT(x) case x: { LtkUtils::SLitC KName = DESC(#x); return &KName; } +#define CASE_LIT(x) case x: { static const LtkUtils::SLitC KName = DESC(#x); return &KName; } const TDesC* MediaTypeDesc(TMediaType aType) {