OpenALMusicPlayer.cpp:164:22: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]

编译时报错:

OpenALMusicPlayer.cpp:164:22: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]

 

 

手动修改:

 

 

改为:

const char* error = "\0"; 

 

 

 

修改后效果:

 

posted on 2023-08-31 17:07  Angry_Panda  阅读(57)  评论(0编辑  收藏  举报

导航