Forum Discussion
Altera_Forum
Honored Contributor
11 years agoI think this happens because your are mixing C and C++ source files.
For example, If you want to call C++ code from a C source file you need the following definition in .cpp file: extern "C" int test_cpp_call (int n); int test_cpp_call (int n) { .... }