Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHow to solve NIOS and C++ problem with alt_remap_uncached
I'm using NIOSII eds for an app in my SOC. I'd like to use C++, but I'm having problems even getting it started. What am I missing here? extern "C" {# include <stdio.h># include "system.h"...
Altera_Forum
Honored Contributor
12 years agoIn C it isn't necessary to have a function prototype in scope in order to call it, C++ does need one.
It is a good idea to enable a lot more of the C 'warnings' and to make them fatal by adding -Wall -Werror to the command line. Some of the warnings are a bit pedantic and can be turned off individually.