expected expected ‘const char **’ but argument is of type ‘char **’
问题 Here is the compile warning i have: src/Debugger.c:219:52: warning: passing argument 2 of ‘Debugger_Command[i].Callback’ from incompatible pointer type Debugger_Command[i].Callback(argc, argv); ^ src/Debugger.c:219:52: note: expected ‘const char **’ but argument is of type ‘char **’ Here is the relevant source code: /* Definition */ typedef void (*Debugger_Callback_t)(int argc, char const * argv[]); typedef struct tagDebugger_Command_t { /* ... */ Debugger_Callback_t Callback; /**< Callback *