Tool/software: TI-RTOS
I was recently forced to tear down and rebuild my CCS environment and decided to upgrade to CCS 8.3 and the corresponding 2.30 simplelink. When I pulled an existing project from a git repository (that had built a hundred times with 8.1/2.20) I got these kinds of messages during a build:
from /home/psoper/rt1/ti/simplelink_cc13x0_sdk_2_30_00_20/kernel/tirtos/packages/ti/sysbios/rts/gnu/ReentSupport.c:50: /home/psoper/rt1/ti/simplelink_cc13x0_sdk_2_30_00_20/source/ti/posix/gcc/sys/types.h:72:2: error: #error "When compiling with TI-POSIX, you must define -std=c99 (or later). You must not define _POSIX_SOURCE or _POSIX_C_SOURCE." #error "When compiling with TI-POSIX, you must define -std=c99 (or later). You must not define _POSIX_SOURCE or _POSIX_C_SOURCE." ^~~~~ /home/psoper/rt1/ti/simplelink_cc13x0_sdk_2_30_00_20/source/ti/posix/gcc/sys/types.h:91:3: error: conflicting types for 'pthread_attr_t' } pthread_attr_t;
What's the story with this? How is one supposed to move from one version of CCS and SImplelink libraries to another without these kinds of backwards compatibility issues biting?
(I searched for a half dozen subsets of the strings above but found nothing relevant)