Dear all,
I get the following (I assume) simple error message. But I was not able to find any useful hints in google or this forum.
The error message:
DCF77.cpp:30: error: 'Utils' is not a namespace-name
DCF77.cpp:30: error: expected namespace-name before ';' token
DCF77.cpp:35: error: 'DCF77' has not been declared
DCF77.cpp:35: error: ISO C++ forbids declaration of 'DCF77' with no type
DCF77.cpp: In function 'int DCF77(int, int, bool)':
DCF77.cpp:37: error: 'dCF77Pin' was not declared in this scope
The mentioned Utils.h and Utils.cpp is in the same directory and the namespace in Utils.h is also declared:
namespace Utils {
void Log(char*s);
void LogLn(char*s);
void Log(int i,char format);
void LogLn(int i,char format);
void Log(int i);
void LogLn(int i);
void BlinkDebug(uint8_t state);
}
So - why does I get the error message?
Thanks for your support.