我对这段代码有问题
#define twobit(ch) ((toupper(ch)) == 'S' ? 0LL : \
(toupper(ch)) == 'M' ? 1LL : \
(toupper(ch)) == 'F' ? 2LL : 3LL)
const QString pop("SWDGMKF");
qDebug()<<twobit(pop[2]); //Erorr