When I want to pass a string parameter to a Format, I can't say eg:
in other words, to use any function that happens to return a string because the compiler warns about nonstandard extensions. Instead, I need to copy the strings first
Item.Format (_L("%S\t%S"), &view.ColDes (2), &view.ColDes (2));
Am I missing something obvious? Or should I simply suppress the warning? I don't really like that second solution...
TBuf<50> Item1 (view.ColDes (2));
TBuf<50> Item2 (view.ColDes (3));
Item.Format (_L("%S\t%S"), &Item1, &Item2);