HTTPD Server - fsdata.c issue
Hi,
For posting code you could place them between {CODE()} and {CODE} that will present it like this:for (f = FS_ROOT; f != NULL; f = f->next) { if (!strcmp(name, (const char *)f->name)) { data = (const char *)f->data; file->len = f->len;
The violet color is an attempt (usually failed) of the Wysiwig editor to highlight syntax...
Regarding your problem, it looks like fsdata.c is #included by fs.c and also compiled separately by System Workbench for Linux. You can try right-click on fsdata.c then select “Properties” and in “C/C++ Build” and tick the “Exclude resource from build” checkbox.
I’ve already seen other cases where include files were incorrectly given the “.c” extension, leading to such an errors.
Hope this helps,
Bernard (Ac6)