Hi,
I just stumbled over this error (and more to follow):
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/include/yvals.h", line 387: error #20: identifier "_Bool" is undefined
when I simply include the gatt.h header from the BLE Stack version 2.1. I will work to find a workaround, but simply including a library header should not result in compilation errors.
Kind regards,
Torsten
Here is the whole story:
**** Build of configuration FlashROM for project rcp_server **** "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k Application/service.obj 'Building file: C:/Users/Torsten/rcp_server/Source/Application/service.cpp' 'Invoking: ARM Compiler' "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/bin/armcl" --cmd_file="C:/Users/Torsten/rcp_server/rcp_server/../Config/ccsCompilerDefines.bcfg" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/include" --include_path="C:/Users/Torsten/rcp_server/Source/Application" --include_path="C:/Users/Torsten/rcp_server/Source/Common" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/include" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/ICall/Include" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/Roles/CC26xx" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/Roles" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/DevInfo" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/SimpleProfile/CC26xx" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/SimpleProfile" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/common/cc26xx" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/applib/heap" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/ble/hci" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/ble/controller/CC26xx/include" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/ble/host" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/hal/target/CC2650TIRTOS" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/hal/target/_common/cc26xx" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/hal/include" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/osal/include" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/services/sdata" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/services/saddr" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/icall/include" --include_path="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/ble/include" --include_path="C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600" --include_path="C:/ti/tirtos_simplelink_2_13_00_06/packages/ti/boards/SRF06EB/CC2650EM_7ID" -g --gcc --define=USE_ICALL --define=POWER_SAVING --define=SBP_TASK_STACK_SIZE=700 --define=GAPROLE_TASK_STACK_SIZE=520 --define=HEAPMGR_SIZE=2672 --define=TI_DRIVERS_SPI_DMA_INCLUDED --define=TI_DRIVERS_LCD_INCLUDED --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_MAX_NUM_ENTITIES=6 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=MAX_NUM_BLE_CONNS=1 --define=CC26XXWARE --define=CC26XX --define=ccs --define=DEBUG --diag_warning=225 --display_error_number --diag_suppress=48 --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="Application/service.pp" --obj_directory="Application" --cmd_file="configPkg/compiler.opt" "C:/Users/Torsten/rcp_server/Source/Application/service.cpp" "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/include/yvals.h", line 387: error #20: identifier "_Bool" is undefined "C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/icall/include/ICall.h", line 382: error #80: expected a type specifier "C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/icall/include/ICall.h", line 382: error #91: function returning function is not allowed "C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/icall/include/ICall.h", line 730: error #20: identifier "ICall_MsgMatchFn" is undefined "C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/icall/include/ICall.h", line 1529: error #302: a pointer to a bound function may only be used to call the function "C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/icall/include/ICall.h", line 1611: error #91: function returning function is not allowed "C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/icall/include/ICall.h", line 1617: error #302: a pointer to a bound function may only be used to call the function "C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/icall/include/ICall.h", line 1806: error #20: identifier "ICall_MsgMatchFn" is undefined "C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Components/ble/include/gatt.h", line 266: warning #370-D: class "attAttribute_t" defines no constructor to initialize the following: const member "attAttribute_t::pValue" "C:/Users/Torsten/rcp_server/Source/Application/service.cpp", line 4: warning #179-D: variable "attribute_table" was declared but never referenced 8 errors detected in the compilation of "C:/Users/Torsten/rcp_server/Source/Application/service.cpp". >> Compilation failure gmake: *** [Application/service.obj] Error 1