Tool/software: TI C/C++ Compiler
Hi!
I'm using cl6x compiler and CCSv7
I have big project in C with many linked C libs, and i need include into the big one 1 smaller(still few thosands of code lines) project/lib that has been written in c++.
Both are made on makefiles
Converting the big one into c++ would be to much work, and when I try just link c++ as c I get errors like:
"C:/ti/ccsv6/tools/compiler/c6000_7.4.19/include/exception", line 10: error #20: identifier "class" is undefined class exception; ^ "C:/ti/ccsv6/tools/compiler/c6000_7.4.19/include/iosfwd", line 532: error #41: expected an identifier typedef basic_ostream<wchar_t, char_traits<wchar_t> > wostream;
all displayed errors(in .log file) ale from compiler, and none is from projects code.
Smaller project is properly building in c++, and it have "#ifdef __cplusplus..." there where it caused errors.(errors in building big one)
There comes my question: Is there a supported makefile command that allow me to properly link/include both projects? without need to make big changes?