今天博主在编译C语言代码的时候,遇到了两个警告:
warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
和
warning: function with qualified void return type called
产生第一个警告的代码片段如下:
...
void my_help();
void my_ls();
void my_cat();
const void (*COMMAND