Altera_Forum
Honored Contributor
21 years agoio.h cannot be included in cpp files
The file "io.h" under "ecos\ecos-2.0\packages\hal\nios2\arch\v2_0\include" wants to specify "C" linkage. Unfortunately someone forgot the closing brace. You will get compilation errors if the file is included in c++ sources. I am not sure why there is a linkage specification at all. Currently there are only macros defined in this file.