error: array type has incomplete element type
This is occurring in fsdata_custom.c in the LwIP_HTTP_Server_Netconn_RTOS project I imported from CubeMX. The struct that is being referenced is :
struct fsdata_file {
const struct fsdata_file *next; const unsigned char *name; const unsigned char *data; int len; u8_t flags;#if HTTPD_PRECALCULATED_CHECKSUM u16_t chksum_count; const struct fsdata_chksum *chksum;#endif /* HTTPD_PRECALCULATED_CHECKSUM */};and the HTTPD_PRECALCULATED_CHECKSUM is defined as 0.
Where the error is occurring in fsdata_custom.c is at: (line 2336
const struct fsdata_file file__STM32F7xx_files_logo_jpg[] = { {
file_NULL,data__STM32F7xx_files_logo_jpg,data__STM32F7xx_files_logo_jpg + 28,sizeof(data__STM32F7xx_files_logo_jpg) - 28,1,}};According to the struct definition it looks like all the elements are there so I am confused.
Anyone run across this?