LogPrecision does not name a type
MarcCosgaya opened this issue · 1 comments
MarcCosgaya commented
Hello,
I am trying to compile a small C++ program for testing hideakitai/MsgPack. However, I get the following error:
DebugLog/DebugLog.h:22:39: error: ‘LogPrecision’ in namespace ‘arx::debug’ does not name a type
22 | using DebugLogPrecision = arx::debug::LogPrecision;
| ^~~~~~~~~~~~
LogPrecision is used here:
Line 22 in 1093cf3
But if ARDUINO is not defined, LogPrecision is not available:
Lines 68 to 80 in 1093cf3
I suggest replacing line 22 with:
#ifdef ARDUINO
using DebugLogPrecision = arx::debug::LogPrecision;
#endif
hideakitai commented
@MarcCosgaya Fixed. Thanks!