hit9/bitproto

bitproto.c compilation errors using TI's CCS.

tiborkiss opened this issue · 0 comments

I made a simple library project in Code Composer Studio (v12.4) using the default TI toolchain.
Unfortunately bitproto.c (v1.1.1) does not compile, with the following errors:

"../src/bitproto.c", line 50: error #29: expected an expression
"../src/bitproto.c", line 50: error #20: identifier "k" is undefined
"../src/bitproto.c", line 155: error #29: expected an expression
"../src/bitproto.c", line 155: error #20: identifier "k" is undefined
"../src/bitproto.c", line 165: error #29: expected an expression
"../src/bitproto.c", line 165: error #20: identifier "k" is undefined
"../src/bitproto.c", line 402: remark #1532-D: (ULP 5.3) Detected vsprintf() operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"../src/bitproto.c", line 402: remark #2553-D: (ULP 14.1) Array index (involving "ctx") of type "int". Recommend using "unsigned int"
"../src/bitproto.c", line 414: error #29: expected an expression
"../src/bitproto.c", line 414: error #20: identifier "k" is undefined
"../src/bitproto.c", line 527: error #29: expected an expression
"../src/bitproto.c", line 527: error #20: identifier "k" is undefined
10 errors detected in the compilation of "../src/bitproto.c".

The BpMessageDescriptor structure defiined as a macro, doesn't seems to work with this compiler.