[an error occurred while processing this directive]
|
Вот дебаг-логи для обоих случаев:
- Трактовка Си как Си++ ВКЛЮЧЕНА:
------------------------------ test.pjt - Debug ------------------------------
[test.asm] "D:\Program Files\CCS3.1\C6000\cgtools\bin\cl6x" -g -fr"D:/Program Files/CCS3.1/MyProjects/test/Debug" -d"_DEBUG" -mv6400 -@"Debug.lkf" "test.asm"
[test.c] "D:\Program Files\CCS3.1\C6000\cgtools\bin\cl6x" -g -fr"D:/Program Files/CCS3.1/MyProjects/test/Debug" -d"_DEBUG" -mv6400 -@"Debug.lkf" "test.c"
"test.c", line 1: error: expected an identifier
1 error detected in the compilation of "test.c".
>> Compilation failure
Build Complete,
1 Errors, 0 Warnings, 0 Remarks.
- Трактовка Си как Си++ ВЫКЛЮЧЕНА:
------------------------------ test.pjt - Debug ------------------------------
[test.asm] "D:\Program Files\CCS3.1\C6000\cgtools\bin\cl6x" -g -fr"D:/Program Files/CCS3.1/MyProjects/test/Debug" -d"_DEBUG" -mv6400 -@"Debug.lkf" "test.asm"
[test.c] "D:\Program Files\CCS3.1\C6000\cgtools\bin\cl6x" -g -fr"D:/Program Files/CCS3.1/MyProjects/test/Debug" -d"_DEBUG" -mv6400 -@"Debug.lkf" "test.c"
[Linking...] "D:\Program Files\CCS3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf" undefined first referenced >> Compilation failure Build Complete, (на варнинг стека не обращате внимания)
>> warning: creating .stack section with default size of 400 (hex) words.
Use
-stack option to change the default size.
symbol in file
--------- ----------------
_testfunction D:\Program Files\CCS3.1\MyProjects\test\Debug\test.obj
>> error: symbol referencing errors - './Debug/test.out' not built
2 Errors, 1 Warnings, 0 Remarks.
Ответы
Перейти к списку ответов
|||
Конференция
|||
Архив
|||
Главная страница
|||
Содержание