I wish this problem were in my code, but none of my backups compile either. Here is the result of a build (block below). It fails on all typedef statements, and, of course, anything that depends on those types.
This started between two compiles. I've removed the SDK and re-installed. No improvement. Unfortunately removing the SDK is not complete. For example, the "Open Recent Workspaces" is still populated.
Suggestions for what setting could have been corrupted are most welcome.
Running 'C:/CSR_uEnergy_SDK-2.6.3.12/tools/bin/make SDK=C:/CSR_uEnergy_SDK-2.6.3.12/tools -f CSRMeshSwitch.debug.mak build'...C:/CSR_uEnergy_SDK-2.6.3.12/tools/bin/xap-local-xap-gcc -Wa,-ahln=depend_Debug_CSR101x_A05/csr_mesh_switch.si -gdwarf-2 -g -msmall-mode -mconst-switch-tables -mas-mode -mno-initc -O0 -fno-inline-functions-called-once -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wdisabled-optimization -Wcast-qual -Wundef -Wno-long-long -Wno-unused-parameter -Werror -fno-inline-functions -fno-inline-small-functions -fno-delete-null-pointer-checks -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-builtin --param large-stack-frame=10 --param large-stack-frame-growth=50 -DHAVE_ROM -DCSR101x -DCSR101x_A05 -DNVM_TYPE_EEPROM -MD -I. -I..\..\include; -IC:\CSR_uEnergy_CSRmesh\include -Idepend_Debug_CSR101x_A05 -IC:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05 -IC:/CSR_uEnergy_SDK-2.6.3.12/tools/lib/CSR101x_A05 -IC:/CSR_uEnergy_SDK-2.6.3.12/tools/lib/otau/v6 -DCSR101x -DCSR101x_A05 -DNVM_TYPE_EEPROM -c -o depend_Debug_CSR101x_A05/csr_mesh_switch.o csr_mesh_switch.c
In file included from C:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05/main.h:12,
from csr_mesh_switch.c:18:
C:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05/types.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
In file included from C:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05/hci_error_codes.h:13,
from C:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05/status.h:18,
from C:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05/types.h:53,
from C:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05/main.h:12,
from csr_mesh_switch.c:18:
C:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05/hci_types.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hci_return_t'
C:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05/hci_types.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hci_error_t'
C:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05/hci_types.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hci_event_code_t'
C:/CSR_uEnergy_SDK-2.6.3.12/tools/include/CSR101x_A05/hci_types.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hci_link_enc_t'