Loading...
 
Skip to main content

System Workbench for STM32


Strange compiler error/warning flagging [SOLVED]

I have almost the same issue yet mine flags an error and will not build. I tried the solution above but it did not fix the issue.

typedef struct cli_cmd_struct
{
int num;
uint8_t *str;
uint8_t rw;
uint8_t *optMAX_CLI_CMD_OPTS;
uint8_t *valMAX_CLI_CMD_VALS;
} cli_cmd;

cli_cmd CliCmd;
CliCmd.num = 0; //This causes a build error

 
Collapse/expand modules below