Greedysky / TTKMusicPlayer

TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux.
GNU General Public License v3.0
2.24k stars 405 forks source link

表达式必须含有常量值 #132

Closed feiyiban closed 9 months ago

feiyiban commented 9 months ago

char ftype[v + 1] = {0};这里你能编译的过?

Greedysky commented 9 months ago

char ftype[v + 1] = {0};这里你能编译的过? MSVC不能,C++11 标准GCC没问题,不过不推荐这么用