RemoteDebugger icon indicating copy to clipboard operation
RemoteDebugger copied to clipboard

error: format '%lu' expects argument of type 'long unsigned int'

Open DarekLin opened this issue 4 years ago • 0 comments

Describe the bug

I met problem in your exapmle sketch during the compilation:

Arduino\libraries\RemoteDebug\src\RemoteDebug.cpp:1931:117: error: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint32_t {aka unsigned int}' [-Werror=format=]

DebugWS.printf("$app:V:%s:%s:%c:%lu:%c:N\n", version.c_str(), board.c_str(), features, getFreeMemory(), dbgEnabled);

Arduino Information:

  • OS: windows 10
  • IDE Arduino IDE
  • IDE Version 1.8.10
  • Board: ESP32 dev module

DarekLin avatar May 17 '20 21:05 DarekLin