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.

CCS/TM4C1294NCPDT: #112-D statement is unreachable

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

I am compiling the piece of code and iam getting the following warnings

1) #112-D statement is unreachable hello.c /hello line 113 C/C++ Problem

2) This project was created using a version of compiler that is not currently installed: 5.2.6 [ARM]. Another version of the compiler will be used during build: 15.12.3.LTS. 

how to clear these warnings help me. iam using CCS V6 IDE

  • Hello,

    Ad 1) there is nothing wrong with it. Code analysis shows that you always return before reaching the mentioned statement. You can suppress warning using compiler setting shown on the following screen:

    Ad 2) You can install compiler v5.2.6 using Help -> Install Code Generation Compiler Tools...