Tool/software: Code Composer Studio
I have CCS version 8 which I am using for development. Yesterday my project, based on the enet_s2e example code, was building with out error. I checked my changes in to a repository and went home happy.
This morning when I build I get an error on a file I did not touch. It is a file the lwip library: C:\ti\tivaware_c_series_2_1_4_178\third_party\lwip-1.4.1\apps\httpserver_raw\httpd.h
My compile message:
>> Compilation failure subdir_rules.mk:44: recipe for target 'lwip_task20190426_1300.obj' failed "../lwip_task20190426_1300.c", line 42: warning #78-D: this declaration has no storage class or type specifier "C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/apps/httpserver_raw/httpd.h", line 91: error #66: expected a ";" "C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/apps/httpserver_raw/httpd.h", line 101: error #20: identifier "tCGIHandler" is undefined 2 errors detected in the compilation of "../lwip_task20190426_1300.c". gmake[1]: *** [lwip_task20190426_1300.obj] Error 1 gmake[1]: Target 'main-build' not remade because of errors. gmake: *** [all] Error 2 makefile:173: recipe for target 'all' failed
Part of the file in question is:
typedef const char *(*tCGIHandler)(int iIndex, int iNumParams, char *pcParam[], char *pcValue[]); /* * Structure defining the base filename (URL) of a CGI and the associated * function which is to be called when that URL is requested. */ typedef struct { const char *pcCGIName; tCGIHandler pfnCGIHandler; } tCGI;
There is no missing ";" I can find.
On another computer (Our factory test) I updated the project files and the project builds with out error. On the off chance I had corrupted my library file
I copied from the test computer: C:\ti\tivaware_c_series_2_1_4_178\third_party\lwip-1.4.1\apps\httpserver_raw\httpd.h to my development computer. The error remains.
Not sure what to do next.
<edit spelling>