translating VS c code feature to standard gcc: (const char*) lvalue issue

前端 未结 0 1158
星月不相逢
星月不相逢 2020-12-11 04:14

This expression is accepted by the visual studio compiler:

((char *) listings) += sometype;

but it causes an error under gcc saying: lvalue r

相关标签:
回答
  • 消灭零回复
提交回复
热议问题