Hello,
I have a project that is programmed in c++. My header-files end in .hh, as they should. My project is related to another one, programmed in C++, too, but they use .h as suffix for header-files. To be sure, that the c++ compiler is used for all files, I added the '--cpp-default' switch to the compiler options, but I still get this error message:
cppe674 somefile.cpp ...
"anotherfile.h", line 18: error: expected a declaration
The line in question is:
namespace DSP {
so I suspect, that it comes from a c-compiler. What can I do to /really/ default to the c++ compiler?
cu
Markus