Forum Discussion
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.