-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
type: imperfectionPerceived defect in any part of projectPerceived defect in any part of projecttype: supportOT: Request for help using the projectOT: Request for help using the project
Description
There is a compiler warning/error that occurs on build. It is:
...\Arduino_DebugUtils.cpp: In member function 'void Arduino_DebugUtils::print(int, const __FlashStringHelper*, ...)':
...\Arduino_DebugUtils.cpp:86:3: warning: second parameter of 'va_start' not last named argument [-Wvarargs]
va_start(args, fmt_str.c_str());
From my investigation, is seems that line 86 (of "Arduino_DebugUtils.cpp") is:
va_start(args, fmt_str.c_str());
and should instead be:
va_start(args, fmt);
I'm not overly familiar with that macro, but this version does stop the error and seems to function correctly when I run the examples.
Metadata
Metadata
Assignees
Labels
type: imperfectionPerceived defect in any part of projectPerceived defect in any part of projecttype: supportOT: Request for help using the projectOT: Request for help using the project