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.

how compile error debugging?

Other Parts Discussed in Thread: CONTROLSUITE

uc1610.h header file

void foo0 ();
void foo1 ();
void foo2 ();
void foo3 ();

uc1610.c source file

//--------------------------------
void foo0 ()
line 1025 {
}
//--------------------------------
void foo1 ()
{
}
//--------------------------------
void foo2 ()
{
}
//--------------------------------
void foo3 ()
{
}

"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/bin/cl2000" -v28 -mt -ml --cla_support=cla0 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.9/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" -g --cpp_default --define="_DEBUG" --define="LARGE_MODEL" --quiet --diag_warning=225 --issue_remarks --diag_suppress=10063 --output_all_syms --cdebug_asm_data --preproc_with_compile --preproc_dependency="UC1610.pp" "../UC1610.C"
"../UC1610.C", line 1025: error: expected a ";"
"../UC1610.C", line 1071: warning: parsing restarts here after previous syntax error
"../UC1610.C", line 1073: error: expected a declaration
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "../UC1610.C".

>> Compilation failure
gmake: *** [UC1610.obj] Error 1

**** Build Finished ****

  • That's not legal C code.  No C compiler will accept it.  I'm not sure what you intend to do, so I don't know the best way to fix it.  Try adding the build option --verbose_diagnostics.  The compiler will echo the problem source line with a ^ character under it to indicate where the problem begins.  That might help.

    Thanks and regards,

    -George