This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/CC430F6137: TI v16.12.0.STS

Part Number: CC430F6137


Tool/software: TI C/C++ Compiler

Hello,

After completion of my code, this is the error message I received while compiling the code. Please i will appreciate a workaround/solution. thanks,


**** Build of configuration Debug__TI for project CC430 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: MSP430 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/bin/cl430" -vmsp --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/core" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/drivers" --advice:power="all" --define=__CC430F6137__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU15 --silicon_errata=CPU18 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="main.d" "../main.c"

>> Compilation failure
subdir_rules.mk:140: recipe for target 'main.obj' failed
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_c_features.h", line 439: warning #48-D: incompatible redefinition of macro "_STLP_VENDOR_CSTD" (declared at line 112 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_c__ti.h")
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__cstdlib.h", line 103: error #149: declaration is incompatible with builtin "int abs(int)" (declared at line 116 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/stdlib.h")
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__cstdlib.h", line 103: error #29: expected an expression
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__cstdlib.h", line 111: error #41: expected an identifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__cstdlib.h", line 111: error #29: expected an expression
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__cstdlib.h", line 125: error #249: function "abs" has already been defined
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__cstdlib.h", line 125: error #29: expected an expression
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__cstdlib.h", line 126: error #41: expected an identifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__cstdlib.h", line 126: error #29: expected an expression
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 41: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 41: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 45: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 45: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 48: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 48: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 52: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 52: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 55: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 55: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 58: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 58: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 62: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 62: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 65: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 65: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 69: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 69: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 72: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 72: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 76: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 76: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 79: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 79: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 83: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 83: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 86: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 86: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 90: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 90: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 93: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 93: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 111: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 111: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 114: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 114: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 157: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 157: error #170: a function type is not allowed here
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 158: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 158: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 162: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 162: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 168: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 184: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 184: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 188: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 190: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 190: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 194: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 197: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 197: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 201: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 205: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 205: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 210: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 212: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 212: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 217: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 226: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 226: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_manips.h", line 231: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 83: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 83: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 87: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 87: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 91: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 91: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 95: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 95: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 99: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 99: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 103: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 103: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 107: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 107: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 110: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 110: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 113: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 113: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 116: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 116: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 119: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 119: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 122: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 122: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 126: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 126: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 129: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 129: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 133: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 133: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 136: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 136: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 139: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 139: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 143: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 143: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 148: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 148: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 149: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 149: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 155: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 157: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 157: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 164: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 166: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 166: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 173: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 175: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 175: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 178: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 223: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 223: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 227: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 227: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 249: warning #12-D: parsing restarts here after previous syntax error
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 250: error #20: identifier "__false_type" is undefined
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 251: error #20: identifier "__false_type" is undefined
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 259: error #171: expected a declaration
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 262: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 262: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 264: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 264: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 267: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 267: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 288: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 288: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 288: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 288: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 288: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 288: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 288: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 288: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 290: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 290: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 290: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 290: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 290: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 290: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 290: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 290: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 292: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 292: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 292: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 292: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 292: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 292: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 292: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 292: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 294: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 294: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 294: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 294: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 294: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 294: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 294: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 294: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 296: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 296: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 296: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 296: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 296: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 296: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 296: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 296: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 299: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 299: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 299: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 299: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 299: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 299: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 299: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 299: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 300: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 300: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 300: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 300: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 300: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 300: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 300: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 300: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 301: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 301: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 301: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 301: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 301: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 301: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 301: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 301: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 302: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 302: error #66: expected a ";"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 302: warning #78-D: this declaration has no storage class or type specifier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s_type_traits.h", line 302: error #66: expected a ";"
Error limit reached.
100 errors detected in the compilation of "../main.c".
Compilation terminated.
gmake: *** [main.obj] Error 1
'Building file: ../core/MyMessage.cpp'
'Invoking: MSP430 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/bin/cl430" -vmsp --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/core" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/drivers" --advice:power="all" --define=__CC430F6137__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU15 --silicon_errata=CPU18 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="core/MyMessage.d" --obj_directory="core" "../core/MyMessage.cpp"

>> Compilation failure
core/subdir_rules.mk:91: recipe for target 'core/MyMessage.obj' failed
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__algobase.h", line 199: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__algobase.h", line 231: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__uninitialized.h", line 113: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 413: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 414: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 416: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 423: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 424: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 429: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 430: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 431: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 429: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 430: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__hash_fun.h", line 54: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
"../core/MyMessage.cpp", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
"../core/MyMessage.cpp", line 81: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
"../core/MyMessage.cpp", line 82: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
"../core/MyMessage.cpp", line 84: remark #2553-D: (ULP 14.1) Array index (involving "") of type "int". Recommend using "unsigned int"
"../core/MyMessage.cpp", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
"../core/MyMessage.cpp", line 81: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
"../core/MyMessage.cpp", line 82: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
"../core/MyMessage.cpp", line 209: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__alloc.h", line 354: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
detected during:
instantiation of "_Tp *std::allocator<_Tp>::_M_allocate(std::allocator<_Tp>::size_type, std::allocator<_Tp>::size_type &) [with _Tp=char]" at line 540
instantiation of "_Tp *std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::allocate(std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type, std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type &, const std::__true_type &) [with _Value=char *, _Tp=char, _MaybeReboundAlloc=std::allocator<char>]" at line 520
instantiation of "_Tp *std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::allocate(std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type, std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type &) [with _Value=char *, _Tp=char, _MaybeReboundAlloc=std::allocator<char>]" at line 608 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.c"
instantiation of "void std::priv::_String_base<_Tp, _Alloc>::_M_allocate_block(std::size_t) [with _Tp=char, _Alloc=std::allocator<char>]" at line 375 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.h"
instantiation of "void std::basic_string<_CharT, _Traits, _Alloc>::_M_range_initialize(const _CharT *, const _CharT *) [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 646 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.c"
instantiation of "std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>::_Self &) [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=float, _Word=(unsigned short)32640U]" at line 154
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=float, _Word=(unsigned short)32640U]" at line 199
instantiation of "float std::priv::_LimG<__dummy>::get_F_inf() [with __dummy=bool]" at line 423 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=float, _Word=(unsigned short)32641U]" at line 154
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=float, _Word=(unsigned short)32641U]" at line 204
instantiation of "float std::priv::_LimG<__dummy>::get_F_qNaN() [with __dummy=bool]" at line 424 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=float, _Word=(unsigned short)32705U]" at line 154
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=float, _Word=(unsigned short)32705U]" at line 209
instantiation of "float std::priv::_LimG<__dummy>::get_F_sNaN() [with __dummy=bool]" at line 425 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 142: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_higher() [with _Number=float, _Word=(unsigned short)1U]" at line 161
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_first_word() [with _Number=float, _Word=(unsigned short)1U]" at line 214
instantiation of "float std::priv::_LimG<__dummy>::get_F_denormMin() [with __dummy=bool]" at line 418 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 142: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_higher() [with _Number=double, _Word=(unsigned short)1U]" at line 161
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_first_word() [with _Number=double, _Word=(unsigned short)1U]" at line 249
instantiation of "double std::priv::_LimG<__dummy>::get_D_denormMin() [with __dummy=bool]" at line 449 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 142: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_higher() [with _Number=long double, _Word=(unsigned short)1U]" at line 161
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_first_word() [with _Number=long double, _Word=(unsigned short)1U]" at line 300
instantiation of "long double std::priv::_LimG<__dummy>::get_LD_denormMin() [with __dummy=bool]" at line 479 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=double, _Word=(unsigned short)32752U]" at line 154
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=double, _Word=(unsigned short)32752U]" at line 225
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=double, _Word=(unsigned short)32753U]" at line 154
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=double, _Word=(unsigned short)32753U]" at line 229
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=double, _Word=(unsigned short)32761U]" at line 154
instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=double, _Word=(unsigned short)32761U]" at line 233
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 178: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_word_lower() [with _Number=long double, _Word1=(unsigned short)32768U, _Word2=(unsigned short)32767U]" at line 187
instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_from_last_word() [with _Number=long double, _Word1=(unsigned short)32768U, _Word2=(unsigned short)32767U]" at line 262
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 178: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_word_lower() [with _Number=long double, _Word1=(unsigned short)49152U, _Word2=(unsigned short)32767U]" at line 187
instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_from_last_word() [with _Number=long double, _Word1=(unsigned short)49152U, _Word2=(unsigned short)32767U]" at line 270
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 178: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
detected during:
instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_word_lower() [with _Number=long double, _Word1=(unsigned short)36864U, _Word2=(unsigned short)32767U]" at line 187
instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_from_last_word() [with _Number=long double, _Word1=(unsigned short)36864U, _Word2=(unsigned short)32767U]" at line 278
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.h", line 165: remark #1537-D: (ULP 9.1) Function parameter <unnamed> (type "std::priv::_String_reserve_t") is being passed by value and should be passed by reference using pointer
detected during instantiation of "std::priv::__basic_iostring<_CharT>::__basic_iostring() [with _CharT=char]" at line 139 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__num_put.c"
"../core/MyMessage.cpp", line 139 (col. 18): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"../core/MyMessage.cpp", line 143 (col. 14): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"../core/MyMessage.cpp", line 239 (col. 23): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"../core/MyMessage.cpp", line 242 (col. 8): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
>> ../core/MyMessage.cpp, line 171: INTERNAL ERROR: Decomposition error


This may be a serious problem. Please contact customer support with a
description of this problem and a sample of the source files that caused this
INTERNAL ERROR message to appear.

Cannot continue compilation - ABORTING!

gmake: *** [core/MyMessage.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • You have two errors here: a parse error in main.c, and an internal error in MyMessage.cpp.

    For the parse error in main.c, it's pretty likely that you are having the same problem as described in the following forum thread. The resolution that thread is that it is not legal to include C++ style header files (e.g. <cstdarg>) in a C program. If your main.c really is a C++ file, change its name to main.cpp or add the --cpp_default (-fg) option to this file in the project options.

    e2e.ti.com/.../543224

    For the internal error, I can't determine the problem from just the error. We'll need to see a complete, compilable test case that demonstrates the problem. The problem is happening on line 171 of MyMessage.cpp; if we could see the source code of the function at that line, we might recognize something.
  • Hello,

    Thanks for your great feedback. Now I have made the settings as you said by changing the main.c to main.cpp. I also change the settings to "--cpp_default(-fg)". The error messages went down from 78 errors to 8 error messages. but still the main.cpp and  MyMessage.cpp refuse to compile. Actually I am porting from "mysensors" protocol which support Arduino platform to cc430f6137 platform. 

    This is MyMessage.cpp source code:

    /**
    * The MySensors Arduino library handles the wireless radio link and protocol
    * between your home built sensors/actuators and HA controller of choice.
    * The sensors forms a self healing radio network with optional repeaters. Each
    * repeater and gateway builds a routing tables in EEPROM which keeps track of the
    * network topology allowing messages to be routed to nodes.
    *
    * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
    * Copyright (C) 2013-2015 Sensnology AB
    * Full contributor list: github.com/.../contributors
    *
    * Documentation: http://www.mysensors.org
    * Support Forum: http://forum.mysensors.org
    *
    * This program is free software; you can redistribute it and/or
    * modify it under the terms of the GNU General Public License
    * version 2 as published by the Free Software Foundation.
    */


    #include "MyMessage.h"
    #include <stdio.h>
    #include <stdlib.h>


    //My Code
    #ifndef max
    #define max(a,b) (((a) > (b)) ? (a) : (b))
    #endif

    #ifndef min
    #define min(a,b) (((a) < (b)) ? (a) : (b))
    #endif

    //My code

    MyMessage::MyMessage() {
    destination = 0; // Gateway is default destination
    }

    MyMessage::MyMessage(uint8_t _sensor, uint8_t _type) {
    destination = 0; // Gateway is default destination
    sensor = _sensor;
    type = _type;
    }

    bool MyMessage::isAck() const {
    return miGetAck();
    }

    uint8_t MyMessage::getCommand() const {
    return miGetCommand();
    }

    /* Getters for payload converted to desired form */
    void* MyMessage::getCustom() const {
    return (void *)data;
    }

    const char* MyMessage::getString() const {
    uint8_t payloadType = miGetPayloadType();
    if (payloadType == P_STRING) {
    return data;
    } else {
    return NULL;
    }
    }

    // handles single character hex (0 - 15)
    char MyMessage::i2h(uint8_t i) const {
    uint8_t k = i & 0x0F;
    if (k <= 9)
    return '0' + k;
    else
    return 'A' + k - 10;
    }

    char* MyMessage::getCustomString(char *buffer) const {
    for (uint8_t i = 0; i < miGetLength(); i++)
    {
    buffer[i * 2] = i2h(data[i] >> 4);
    buffer[(i * 2) + 1] = i2h(data[i]);
    }
    buffer[miGetLength() * 2] = '\0';
    return buffer;
    }

    char* MyMessage::getStream(char *buffer) const {
    uint8_t cmd = miGetCommand();
    if ((cmd == C_STREAM) && (buffer != NULL)) {
    return getCustomString(buffer);
    } else {
    return NULL;
    }
    }

    /*char* MyMessage::getString(char *buffer) const {
    uint8_t payloadType = miGetPayloadType();
    if (buffer != NULL) {
    if (payloadType == P_STRING) {
    strncpy(buffer, data, miGetLength());
    buffer[miGetLength()] = 0;
    } else if (payloadType == P_BYTE) {
    itoa(bValue, buffer, 10);
    } else if (payloadType == P_INT16) {
    itoa(iValue, buffer, 10);
    } else if (payloadType == P_UINT16) {
    utoa(uiValue, buffer, 10);
    } else if (payloadType == P_LONG32) {
    ltoa(lValue, buffer, 10);
    } else if (payloadType == P_ULONG32) {
    ultoa(ulValue, buffer, 10);
    } else if (payloadType == P_FLOAT32) {
    dtostrf(fValue,2,min(fPrecision, 8),buffer);
    } else if (payloadType == P_CUSTOM) {
    return getCustomString(buffer);
    }
    return buffer;
    } else {
    return NULL;
    }
    }*/

    bool MyMessage::getBool() const {
    return getByte();
    }

    uint8_t MyMessage::getByte() const {
    if (miGetPayloadType() == P_BYTE) {
    return data[0];
    } else if (miGetPayloadType() == P_STRING) {
    return atoi(data);
    } else {
    return 0;
    }
    }


    float MyMessage::getFloat() const {
    if (miGetPayloadType() == P_FLOAT32) {
    return fValue;
    } else if (miGetPayloadType() == P_STRING) {
    return atof(data);
    } else {
    return 0;
    }
    }

    int32_t MyMessage::getLong() const {
    if (miGetPayloadType() == P_LONG32) {
    return lValue;
    } else if (miGetPayloadType() == P_STRING) {
    return atol(data);
    } else {
    return 0;
    }
    }

    uint32_t MyMessage::getULong() const {
    if (miGetPayloadType() == P_ULONG32) {
    return ulValue;
    } else if (miGetPayloadType() == P_STRING) {
    return atol(data);
    } else {
    return 0;
    }
    }

    int16_t MyMessage::getInt() const {
    if (miGetPayloadType() == P_INT16) {
    return iValue;                             //         this is  line 171 
    } else if (miGetPayloadType() == P_STRING) {
    return atoi(data);
    } else {
    return 0;
    }
    }

    uint16_t MyMessage::getUInt() const {
    if (miGetPayloadType() == P_UINT16) {
    return uiValue;
    } else if (miGetPayloadType() == P_STRING) {
    return atoi(data);
    } else {
    return 0;
    }

    }

    MyMessage& MyMessage::setType(uint8_t _type) {
    type = _type;
    return *this;
    }

    MyMessage& MyMessage::setSensor(uint8_t _sensor) {
    sensor = _sensor;
    return *this;
    }

    MyMessage& MyMessage::setDestination(uint8_t _destination) {
    destination = _destination;
    return *this;
    }

    // Set payload
    MyMessage& MyMessage::set(void* value, uint8_t length) {
    miSetPayloadType(P_CUSTOM);
    miSetLength(length);
    memcpy(data, value, min(length, MAX_PAYLOAD));
    return *this;
    }

    MyMessage& MyMessage::set(const char* value) {
    uint8_t length = value == NULL ? 0 : min(strlen(value), MAX_PAYLOAD);
    miSetLength(length);
    miSetPayloadType(P_STRING);
    if (length) {
    strncpy(data, value, length);
    }
    // null terminate string
    data[length] = 0;
    return *this;
    }

    MyMessage& MyMessage::set(bool value) {
    miSetLength(1);
    miSetPayloadType(P_BYTE);
    data[0] = value;
    return *this;
    }

    MyMessage& MyMessage::set(uint8_t value) {
    miSetLength(1);
    miSetPayloadType(P_BYTE);
    data[0] = value;
    return *this;
    }

    MyMessage& MyMessage::set(float value, uint8_t decimals) {
    miSetLength(5); // 32 bit float + persi
    miSetPayloadType(P_FLOAT32);
    fValue=value;
    fPrecision = decimals;
    return *this;
    }

    MyMessage& MyMessage::set(uint32_t value) {
    miSetPayloadType(P_ULONG32);
    miSetLength(4);
    ulValue = value;
    return *this;
    }

    MyMessage& MyMessage::set(int32_t value) {
    miSetPayloadType(P_LONG32);
    miSetLength(4);
    lValue = value;
    return *this;
    }

    MyMessage& MyMessage::set(uint16_t value) {
    miSetPayloadType(P_UINT16);
    miSetLength(2);
    uiValue = value;
    return *this;
    }

    MyMessage& MyMessage::set(int16_t value) {
    miSetPayloadType(P_INT16);
    miSetLength(2);
    iValue = value;
    return *this;
    }

    In the MyMessage.cpp header file(i.e MyMessage.h), these are the included files:

    #include "stdarg.h"
    #include "stddef.h"
    #include "stdint.h"
    #include "stdlib.h"
    #include "stdbool.h"
    #include "stdlib_noniso.h"
    #include "stdio.h"
    #include "string.h"
    #include "math.h"
    #include <algorithm>
    #include <string>
    #include "core/MyIndication.h"

    Note: "core/MyIndication.h" has no included header file.

     

     

    This is the current error messages the compiler displayed:


    **** Build of configuration Debug__TI for project CC430 ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../driver_timer.c'
    'Invoking: MSP430 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/bin/cl430" -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/core" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/drivers" --advice:power="all" --define=__CC430F6137__ -g --c89 --c++03 --cpp_default --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU15 --silicon_errata=CPU18 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="driver_timer.d" "../driver_timer.c"

    >> Compilation failure
    subdir_rules.mk:56: recipe for target 'driver_timer.obj' failed
    "..\hal_timer.h", line 50: warning #262-D: explicit type is missing ("int" assumed)
    "../driver_timer.c", line 15: warning #994-D: missing return statement at end of non-void function "isr_timer_interface"
    "../driver_timer.c", line 20: error #169: argument of type "ISR_FUNC_PTR (*)()" is incompatible with parameter of type "ISR_FUNC_PTR"
    1 error detected in the compilation of "../driver_timer.c".
    gmake: *** [driver_timer.obj] Error 1
    'Building file: ../driver_user_interface.c'
    'Invoking: MSP430 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/bin/cl430" -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/core" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/drivers" --advice:power="all" --define=__CC430F6137__ -g --c89 --c++03 --cpp_default --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU15 --silicon_errata=CPU18 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="driver_user_interface.d" "../driver_user_interface.c"

    >> Compilation failure
    subdir_rules.mk:70: recipe for target 'driver_user_interface.obj' failed
    "..\hal_timer.h", line 50: warning #262-D: explicit type is missing ("int" assumed)
    "../driver_user_interface.c", line 14: warning #994-D: missing return statement at end of non-void function "isr_io1_user_interface"
    "../driver_user_interface.c", line 18: warning #994-D: missing return statement at end of non-void function "isr_io2_user_interface"
    "../driver_user_interface.c", line 28: error #169: argument of type "ISR_FUNC_PTR (*)()" is incompatible with parameter of type "ISR_FUNC_PTR"
    "../driver_user_interface.c", line 37: error #169: argument of type "ISR_FUNC_PTR (*)()" is incompatible with parameter of type "ISR_FUNC_PTR"
    "../driver_user_interface.c", line 24: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "../driver_user_interface.c", line 25: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "../driver_user_interface.c", line 33: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "../driver_user_interface.c", line 34: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    2 errors detected in the compilation of "../driver_user_interface.c".
    'Building file: ../main.cpp'
    'Invoking: MSP430 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/bin/cl430" -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/core" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/drivers" --advice:power="all" --define=__CC430F6137__ -g --c89 --c++03 --cpp_default --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU15 --silicon_errata=CPU18 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="main.d" "../main.cpp"

    >> Compilation failure
    subdir_rules.mk:140: recipe for target 'main.obj' failed
    gmake: *** [driver_user_interface.obj] Error 1
    "..\hal_timer.h", line 50: warning #262-D: explicit type is missing ("int" assumed)
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__algobase.h", line 199: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__algobase.h", line 231: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__uninitialized.h", line 113: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 413: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 414: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 416: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 423: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 424: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 429: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 430: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 431: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 429: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 430: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__hash_fun.h", line 54: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "..\core\MyHw.h", line 72: warning #86-D: invalid storage class for a parameter
    "..\core/MySensorsCore.h", line 208: warning #86-D: invalid storage class for a parameter
    "..\core/MySensorsCore.h", line 209: warning #86-D: invalid storage class for a parameter
    "..\core/MySigning.cpp", line 161: warning #552-D: variable "sender" was set but never used
    "..\core/MySigning.cpp", line 356: remark #1535-D: (ULP 8.1) variable "verificationResult" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "..\core/MySigning.cpp", line 413: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "..\core/MySigning.cpp", line 413: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "..\core/MySigning.cpp", line 429: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "..\core/MyTransport.cpp", line 61: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 62: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 105: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 106: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 107: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 110: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 209: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 398: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 413: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "..\core/MyTransport.cpp", line 413: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "..\core/MyTransport.cpp", line 474: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 475: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 476: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 513: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 530: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "..\core/MyTransport.cpp", line 513: remark #1546-D: (ULP 15.1) Detected consecutive bitfield assigns. Recommend using bit mask instead
    "C:/Users/Kingsman/Desktop/workspac/CC430/drivers/RFM69/RFM69.h", line 168: warning #9-D: nested comment is not allowed
    "..\drivers/RFM69/RFM69.cpp", line 62: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "..\drivers/RFM69/RFM69.cpp", line 101: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "..\drivers/RFM69/RFM69.cpp", line 131: warning #9-D: nested comment is not allowed
    "..\drivers/RFM69/RFM69.cpp", line 132: warning #9-D: nested comment is not allowed
    "..\drivers/RFM69/RFM69.cpp", line 136: warning #9-D: nested comment is not allowed
    "..\drivers/RFM69/RFM69.cpp", line 141: warning #9-D: nested comment is not allowed
    "..\drivers/RFM69/RFM69.cpp", line 147: warning #9-D: nested comment is not allowed
    "..\drivers/RFM69/RFM69.cpp", line 150: warning #9-D: nested comment is not allowed
    "..\drivers/RFM69/RFM69.cpp", line 308: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "..\drivers/RFM69/RFM69.cpp", line 308: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "..\drivers/RFM69/RFM69.cpp", line 343: remark #1535-D: (ULP 8.1) variable "_RSSI" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "..\core/MyTransportRFM69.cpp", line 71: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "..\core/MyMessage.cpp", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "..\core/MyMessage.cpp", line 81: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
    "..\core/MyMessage.cpp", line 82: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
    "..\core/MyMessage.cpp", line 84: remark #2553-D: (ULP 14.1) Array index (involving "") of type "int". Recommend using "unsigned int"
    "..\core/MyMessage.cpp", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "..\core/MyMessage.cpp", line 81: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
    "..\core/MyMessage.cpp", line 82: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
    "..\core/MyMessage.cpp", line 209: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "..\core/MySensorsCore.cpp", line 64: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "..\core/MySensorsCore.cpp", line 491: warning #86-D: invalid storage class for a parameter
    "..\core/MySensorsCore.cpp", line 517: warning #86-D: invalid storage class for a parameter
    "..\core/MySensorsCore.cpp", line 518: remark #1535-D: (ULP 8.1) variable "ret" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.cpp", line 329: warning #14-D: extra text after expected end of preprocessing directive
    "../main.cpp", line 207: warning #552-D: variable "dataeeprom" was set but never used
    "../main.cpp", line 188: remark #1535-D: (ULP 8.1) variable "length" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "..\driver_rf.h", line 15: remark #1535-D: (ULP 8.1) variable "RxBufferLength" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "..\core/MyTransport.cpp", line 50: remark #1534-D: (ULP 7.1) Detected use of global variable "stUplink" within one function "stIDUpdate". Recommend placing variable in the function locally
    "..\core/MyTransport.cpp", line 51: remark #1534-D: (ULP 7.1) Detected use of global variable "stOK" within one function "stUplinkTransition". Recommend placing variable in the function locally
    "../main.cpp", line 83: remark #1535-D: (ULP 8.1) variable "relayreg" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__alloc.h", line 354: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    detected during:
    instantiation of "_Tp *std::allocator<_Tp>::_M_allocate(std::allocator<_Tp>::size_type, std::allocator<_Tp>::size_type &) [with _Tp=char]" at line 540
    instantiation of "_Tp *std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::allocate(std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type, std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type &, const std::__true_type &) [with _Value=char *, _Tp=char, _MaybeReboundAlloc=std::allocator<char>]" at line 520
    instantiation of "_Tp *std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::allocate(std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type, std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type &) [with _Value=char *, _Tp=char, _MaybeReboundAlloc=std::allocator<char>]" at line 608 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.c"
    instantiation of "void std::priv::_String_base<_Tp, _Alloc>::_M_allocate_block(std::size_t) [with _Tp=char, _Alloc=std::allocator<char>]" at line 375 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.h"
    instantiation of "void std::basic_string<_CharT, _Traits, _Alloc>::_M_range_initialize(const _CharT *, const _CharT *) [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 646 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.c"
    instantiation of "std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>::_Self &) [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=float, _Word=(unsigned short)32640U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=float, _Word=(unsigned short)32640U]" at line 199
    instantiation of "float std::priv::_LimG<__dummy>::get_F_inf() [with __dummy=bool]" at line 423 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=float, _Word=(unsigned short)32641U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=float, _Word=(unsigned short)32641U]" at line 204
    instantiation of "float std::priv::_LimG<__dummy>::get_F_qNaN() [with __dummy=bool]" at line 424 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=float, _Word=(unsigned short)32705U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=float, _Word=(unsigned short)32705U]" at line 209
    instantiation of "float std::priv::_LimG<__dummy>::get_F_sNaN() [with __dummy=bool]" at line 425 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 142: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_higher() [with _Number=float, _Word=(unsigned short)1U]" at line 161
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_first_word() [with _Number=float, _Word=(unsigned short)1U]" at line 214
    instantiation of "float std::priv::_LimG<__dummy>::get_F_denormMin() [with __dummy=bool]" at line 418 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 142: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_higher() [with _Number=double, _Word=(unsigned short)1U]" at line 161
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_first_word() [with _Number=double, _Word=(unsigned short)1U]" at line 249
    instantiation of "double std::priv::_LimG<__dummy>::get_D_denormMin() [with __dummy=bool]" at line 449 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 142: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_higher() [with _Number=long double, _Word=(unsigned short)1U]" at line 161
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_first_word() [with _Number=long double, _Word=(unsigned short)1U]" at line 300
    instantiation of "long double std::priv::_LimG<__dummy>::get_LD_denormMin() [with __dummy=bool]" at line 479 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=double, _Word=(unsigned short)32752U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=double, _Word=(unsigned short)32752U]" at line 225
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=double, _Word=(unsigned short)32753U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=double, _Word=(unsigned short)32753U]" at line 229
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=double, _Word=(unsigned short)32761U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=double, _Word=(unsigned short)32761U]" at line 233
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 178: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_word_lower() [with _Number=long double, _Word1=(unsigned short)32768U, _Word2=(unsigned short)32767U]" at line 187
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_from_last_word() [with _Number=long double, _Word1=(unsigned short)32768U, _Word2=(unsigned short)32767U]" at line 262
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 178: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_word_lower() [with _Number=long double, _Word1=(unsigned short)49152U, _Word2=(unsigned short)32767U]" at line 187
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_from_last_word() [with _Number=long double, _Word1=(unsigned short)49152U, _Word2=(unsigned short)32767U]" at line 270
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 178: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_word_lower() [with _Number=long double, _Word1=(unsigned short)36864U, _Word2=(unsigned short)32767U]" at line 187
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_from_last_word() [with _Number=long double, _Word1=(unsigned short)36864U, _Word2=(unsigned short)32767U]" at line 278
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.h", line 165: remark #1537-D: (ULP 9.1) Function parameter <unnamed> (type "std::priv::_String_reserve_t") is being passed by value and should be passed by reference using pointer
    detected during instantiation of "std::priv::__basic_iostring<_CharT>::__basic_iostring() [with _CharT=char]" at line 139 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__num_put.c"
    "..\core/MyTransport.cpp", line 645 (col. 19): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyTransport.cpp", line 646 (col. 34): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyTransport.cpp", line 64 (col. 32): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyTransport.cpp", line 235 (col. 28): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyTransport.cpp", line 239 (col. 20): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyTransport.cpp", line 267 (col. 58): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyTransport.cpp", line 276 (col. 32): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyTransport.cpp", line 376 (col. 19): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyTransport.cpp", line 380 (col. 29): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyTransport.cpp", line 574 (col. 39): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MySensorsCore.cpp", line 434 (col. 24): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MySensorsCore.cpp", line 435 (col. 28): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MySensorsCore.cpp", line 444 (col. 24): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MySensorsCore.cpp", line 448 (col. 30): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.cpp", line 715 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.cpp", line 717 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.cpp", line 719 (col. 12): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyMessage.cpp", line 139 (col. 18): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyMessage.cpp", line 143 (col. 14): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyMessage.cpp", line 239 (col. 23): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\core/MyMessage.cpp", line 242 (col. 8): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\drivers/RFM69/RFM69.cpp", line 311 (col. 16): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "..\drivers/RFM69/RFM69.cpp", line 312 (col. 34): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    >> ..\core/MyMessage.cpp, line 171: INTERNAL ERROR: Decomposition error


    This may be a serious problem. Please contact customer support with a
    description of this problem and a sample of the source files that caused this
    INTERNAL ERROR message to appear.

    Cannot continue compilation - ABORTING!

    gmake: *** [main.obj] Error 1
    'Building file: ../core/MyMessage.cpp'
    'Invoking: MSP430 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/bin/cl430" -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/core" --include_path="C:/Users/Kingsman/Desktop/workspac/CC430/drivers" --advice:power="all" --define=__CC430F6137__ -g --c89 --c++03 --cpp_default --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU15 --silicon_errata=CPU18 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="core/MyMessage.d" --obj_directory="core" "../core/MyMessage.cpp"

    >> Compilation failure
    core/subdir_rules.mk:91: recipe for target 'core/MyMessage.obj' failed
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__algobase.h", line 199: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__algobase.h", line 231: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__uninitialized.h", line 113: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 413: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 414: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 416: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 423: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 424: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 429: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 430: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 431: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 429: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__function.h", line 430: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__hash_fun.h", line 54: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../core/MyMessage.cpp", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../core/MyMessage.cpp", line 81: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
    "../core/MyMessage.cpp", line 82: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
    "../core/MyMessage.cpp", line 84: remark #2553-D: (ULP 14.1) Array index (involving "") of type "int". Recommend using "unsigned int"
    "../core/MyMessage.cpp", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../core/MyMessage.cpp", line 81: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
    "../core/MyMessage.cpp", line 82: remark #2553-D: (ULP 14.1) Array index (involving "i") of type "int". Recommend using "unsigned int"
    "../core/MyMessage.cpp", line 209: remark #1542-D: (ULP 12.1) Detected memcpy() and recommend using DMA instead if greater than 100 words being transferred
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__alloc.h", line 354: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    detected during:
    instantiation of "_Tp *std::allocator<_Tp>::_M_allocate(std::allocator<_Tp>::size_type, std::allocator<_Tp>::size_type &) [with _Tp=char]" at line 540
    instantiation of "_Tp *std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::allocate(std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type, std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type &, const std::__true_type &) [with _Value=char *, _Tp=char, _MaybeReboundAlloc=std::allocator<char>]" at line 520
    instantiation of "_Tp *std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::allocate(std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type, std::priv::_STLP_alloc_proxy<_Value, _Tp, _MaybeReboundAlloc>::size_type &) [with _Value=char *, _Tp=char, _MaybeReboundAlloc=std::allocator<char>]" at line 608 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.c"
    instantiation of "void std::priv::_String_base<_Tp, _Alloc>::_M_allocate_block(std::size_t) [with _Tp=char, _Alloc=std::allocator<char>]" at line 375 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.h"
    instantiation of "void std::basic_string<_CharT, _Traits, _Alloc>::_M_range_initialize(const _CharT *, const _CharT *) [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]" at line 646 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.c"
    instantiation of "std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>::_Self &) [with _CharT=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=float, _Word=(unsigned short)32640U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=float, _Word=(unsigned short)32640U]" at line 199
    instantiation of "float std::priv::_LimG<__dummy>::get_F_inf() [with __dummy=bool]" at line 423 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=float, _Word=(unsigned short)32641U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=float, _Word=(unsigned short)32641U]" at line 204
    instantiation of "float std::priv::_LimG<__dummy>::get_F_qNaN() [with __dummy=bool]" at line 424 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=float, _Word=(unsigned short)32705U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=float, _Word=(unsigned short)32705U]" at line 209
    instantiation of "float std::priv::_LimG<__dummy>::get_F_sNaN() [with __dummy=bool]" at line 425 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 142: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_higher() [with _Number=float, _Word=(unsigned short)1U]" at line 161
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_first_word() [with _Number=float, _Word=(unsigned short)1U]" at line 214
    instantiation of "float std::priv::_LimG<__dummy>::get_F_denormMin() [with __dummy=bool]" at line 418 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 142: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_higher() [with _Number=double, _Word=(unsigned short)1U]" at line 161
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_first_word() [with _Number=double, _Word=(unsigned short)1U]" at line 249
    instantiation of "double std::priv::_LimG<__dummy>::get_D_denormMin() [with __dummy=bool]" at line 449 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 142: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_higher() [with _Number=long double, _Word=(unsigned short)1U]" at line 161
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_first_word() [with _Number=long double, _Word=(unsigned short)1U]" at line 300
    instantiation of "long double std::priv::_LimG<__dummy>::get_LD_denormMin() [with __dummy=bool]" at line 479 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.h"
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=double, _Word=(unsigned short)32752U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=double, _Word=(unsigned short)32752U]" at line 225
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=double, _Word=(unsigned short)32753U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=double, _Word=(unsigned short)32753U]" at line 229
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 146: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_word_lower() [with _Number=double, _Word=(unsigned short)32761U]" at line 154
    instantiation of "_Number std::priv::float_helper<_Number, _Word>::get_from_last_word() [with _Number=double, _Word=(unsigned short)32761U]" at line 233
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 178: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_word_lower() [with _Number=long double, _Word1=(unsigned short)32768U, _Word2=(unsigned short)32767U]" at line 187
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_from_last_word() [with _Number=long double, _Word1=(unsigned short)32768U, _Word2=(unsigned short)32767U]" at line 262
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 178: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_word_lower() [with _Number=long double, _Word1=(unsigned short)49152U, _Word2=(unsigned short)32767U]" at line 187
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_from_last_word() [with _Number=long double, _Word1=(unsigned short)49152U, _Word2=(unsigned short)32767U]" at line 270
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__limits.c", line 178: remark #1535-D: (ULP 8.1) variable "__tmp" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    detected during:
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_word_lower() [with _Number=long double, _Word1=(unsigned short)36864U, _Word2=(unsigned short)32767U]" at line 187
    instantiation of "_Number std::priv::float_helper2<_Number, _Word1, _Word2>::get_from_last_word() [with _Number=long double, _Word1=(unsigned short)36864U, _Word2=(unsigned short)32767U]" at line 278
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__string.h", line 165: remark #1537-D: (ULP 9.1) Function parameter <unnamed> (type "std::priv::_String_reserve_t") is being passed by value and should be passed by reference using pointer
    detected during instantiation of "std::priv::__basic_iostring<_CharT>::__basic_iostring() [with _CharT=char]" at line 139 of "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_16.12.0.STS/include/s__num_put.c"
    "../core/MyMessage.cpp", line 139 (col. 18): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../core/MyMessage.cpp", line 143 (col. 14): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../core/MyMessage.cpp", line 239 (col. 23): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../core/MyMessage.cpp", line 242 (col. 8): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    >> ../core/MyMessage.cpp, line 171: INTERNAL ERROR: Decomposition error


    This may be a serious problem. Please contact customer support with a
    description of this problem and a sample of the source files that caused this
    INTERNAL ERROR message to appear.

    Cannot continue compilation - ABORTING!

    gmake: *** [core/MyMessage.obj] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    This is the source code of "driver_timer.c":

    #include "driver_timer.h"
    #include "driver_relais.h"

    #ifdef TIMER

    ISR_FUNC_PTR isr_timer_interface(void) {
    state_flag |= TIMER_ACTION_REQUIRED;
    }


    void init_timer(void) {
    halTimer32kInit(TIMER_CYCLES);
    halTimer32kIntConnect(isr_timer_interface);  
    halTimer32kIntEnable();
    }

    #endif

    Note: the header file included only " #include <cc430f6137.h>"

     

  • The most concerning diagnostics are these ...

    Kingsley Onah said:
    >> ..\core/MyMessage.cpp, line 171: INTERNAL ERROR: Decomposition error

    That should not occur.  I'd appreciate if you would preprocess MyMessage.cpp and attach that to your next post.  That will allow us to reproduce the problem.

    Thanks and regards,

    -George

  • You still have more than one issue. I agree with George, we really need a test case for analysis of the internal error.

    While we look at that, you should very carefully distinguish which of your source files and header files are C code and which are C++ code. When mixing C and C++ code, you need to make sure you get the declarations right, or you may have strange problems.

    If a file is really C++ code, you should name it with a .cpp extension. If a file is really C code, you should name it with a .c extension. The problem you are having with driver_timer.c and driver_user_interface.c is most likely that they really are C files, and are not legal C++ code. You should probably not use the option --cpp_default as a global option in your project.

    You should not have any C++ code in a C source file, nor should you include any C++-style standard header from a C source file.

    If you wish to call a C function from C++ code, you should declare the function as extern "C", like so:

    extern "C" {
    int this_is_a_c_function(int);
    }

    If you wish to include a C header file from C++ code, you should also wrap the include with extern "C" as well:

    extern "C" {
    # include "this_is_a_c_header.h"
    }
  • Please find attached herein the preprocessed file.

    Thanks,

    Kind Regards.

    KingsleyMyMessage.zip

  • Thank you for the test case. I am able to reproduce the problem. This has something to do with the packed attribute. I have submitted CODEGEN-2010 for further analysis.