Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

io.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.

No RepliesBe the first to reply